Ejemplo n.º 1
0
        // Sent if player wins game
        public void TestGameOver(int playerID)
        {
            int wonGame = 1;

            NetworkManager.Send(MatchOverProtocol.Prepare(playerID, wonGame),
                                ProcessGameOver);
        }
Ejemplo n.º 2
0
        public void TestGameOver()
        {
            int wonGame = 1;
            int matchID = GameState.matchID;

            NetworkManager.Send(MatchOverProtocol.Prepare(matchID, wonGame),
                                ProcessGameOver);
        }