Beispiel #1
0
 /* return one of 1,2,3,4,5 to pick initial ball holder */
 public int pickAttack(int yourScore, int opponentScore, Game.Round previousRound) {
   attacking = true;
   // before each round process the round before it
   if (previousRound != null && realGame) processRnd(opposingTeam, myTeam, previousRound);
   return currentCoach.pickAttack(yourScore, opponentScore, previousRound);
 }