Exemplo n.º 1
0
    // To switch player
    public void SwitchPlayer()
    {
        RoundNo++;

        CheckForArmed();

        dealer.CheckEmptyHand();

        Selected.Clear();
        if (currentGameState == GameState.P1)
        {
            currentGameState = GameState.P2;
        }
        else
        {
            currentGameState = GameState.P1;
        }
        StartCoroutine(CamSwitch());
    }