public void GrowToSize(GameState gameState, PerTurnPlayerCountersSeparatedByGame counts) { this.counters[gameState.Game].GrowToSize(counts.counters[gameState.Game]); }
public float[] GetAveragePerTurn(int playerIndex, int throughTurn, PerTurnPlayerCountersSeparatedByGame counts) { AggregateAllDataIfNecessary(); counts.AggregateAllDataIfNecessary(); return(aggregatedResult.GetAveragePerTurn(playerIndex, throughTurn, counts.aggregatedResult)); }
public void Add(GameState gameState, PerTurnPlayerCountersSeparatedByGame other) { this.counters[gameState.Game].Add(other.counters[gameState.Game]); }
public ForwardAndReversePerTurnPlayerCounters(int playerCount) { this.forwardTotal = new PerTurnPlayerCountersSeparatedByGame(playerCount); this.reverseTotal = new PerTurnPlayerCountersSeparatedByGame(playerCount); this.currentGameData = new PerTurnPlayerCountersSeparatedByGame(playerCount); }