public Game(Player player1, Player player2, AfterRoundCallback afterRoundCallback = null, GameFinishedCallback gameFinishedCallback = null) { this.player1 = player1; this.player2 = player2; this.gameFinishedCallback = gameFinishedCallback; this.afterRoundCallback = afterRoundCallback; roundsToWin = Rules.Instance.NumberOfWinsForVictory; gameAnalytics = new GameAnalytics(); }
public FinishListener(ISpace space, GameFinishedCallback callback) { this.space = space; this.callback = callback; }
public void PostGameResults([FromBody] GameFinishedCallback gameFinishedCallbackContent) { }