Exemplo n.º 1
0
        public void HostStarted()
        {
            int players = network.Players.GetNumberOfPlayers();

            client.setUp(players);
            clientData.setUp(players);
            client.handToTable();
        }
Exemplo n.º 2
0
        public void StartGameMessageReceived()
        {
            debugOut("Startgame Message Received");
            int players = network.Players.GetNumberOfPlayers();

            foreach (Player p in network.Players.GetPlayers())
            {
                debugOut("Player " + p.Name + " has ID = " + p.ID);
            }

            client.setUp(players);
            clientData.setUp(players);
            mainGame.gameIsRunning = true;
        }