Beispiel #1
0
    public void SetActivePlayerDone()
    {
        allActivePlayerCount++;
        if (allActivePlayerCount == 4)
        {
            if (PlayerSelection.isNetworkedGame)
            {
                if (lockedplayers == 4)
                {
                    nm_server.SetNextTurn();
                    EventManager.PlayerSelected();
                }
            }
            else
            {
                if (lockedplayers == 4)
                {
                    SetNextTurn();
                    EventManager.PlayerSelected();
                }
            }

            if (lockedplayers == 3)
            {
                EventManager.CallOnePlayerOut();
            }

            allActivePlayerCount = 0;
        }
    }
 public void CmdSetNextTurn()
 {
     nm_server.SetNextTurn();
 }