예제 #1
0
 public PlayerCounterSeparatedByGame(int playerCount)
 {
     this.playerCount = playerCount;
     this.counters    = new MapOfGame <PlayerCounter>();
     this.counters.InitAllEntries(delegate()
     {
         return(new PlayerCounter(playerCount));
     });
 }
예제 #2
0
 public PerTurnPlayerCountersSeparatedByGame(int playerCount)
 {
     this.counters    = new MapOfGame <PerTurnPlayerCounters>();
     this.playerCount = playerCount;
     this.counters.InitAllEntries(delegate()
     {
         return(new PerTurnPlayerCounters(playerCount));
     });
     this.aggregatedResult = null;
 }