Ejemplo n.º 1
0
 @Inject
 public Game(
     Collection<IPlayer> players,
     List<IPhase> phases,
     ScoreBoard scoreboard,
     Stack<EnvironmentCard> environmentCards,
     Collection<IGeneCard> genes,
     IBoard board) {
   this.phases = phases;
   this.scoreboard = scoreboard;
   this.environmentCards = environmentCards;
   this.availableGenes = genes;
   this.squares = board;
   for (IPlayer player : players) {
     player.enter(this);
     this.scoreboard.add(player);
   }
 }