Exemplo n.º 1
0
        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;
 }
Exemplo n.º 3
0
 public void PostGameResults([FromBody] GameFinishedCallback gameFinishedCallbackContent)
 {
 }