Ejemplo n.º 1
0
 private void setup() {
   for (IPlayer player : this.ascPlayers()) {
     Collection<ISquare> possible = this.squares.all();
     for (int n = 0; n < AMOEBAS_AT_START; n++) {
       IAmoeba amoeba = player.placeInitial(possible);
       possible.remove(amoeba.getSquare());
       notifyObservers(new InitialPlacement(player, amoeba));
     }
   }
 }