Beispiel #1
0
 private static boolean requiresJudges(String playerName, Properties props) {
   String roleName = props.getProperty(PropertyHelper.dottedWords(playerName, ROLE_PROPERTY_WORD));
   if (roleName == null) {
     return false;
   } else {
     roleName = roleName.trim();
   }
   return roleName.equals(JUDGE_PROPERTY_WORD) || roleName.equals(MANIPULATOR_PROPERTY_WORD);
 }
Beispiel #2
0
 public Quantity initialManipulatorTickets() {
   String manipulatorTicketsProp =
       PropertyHelper.dottedWords(TICKETS_PROPERTY_WORD, MANIPULATOR_PROPERTY_WORD);
   return new Quantity(PropertyHelper.parseDouble(manipulatorTicketsProp, props));
 }