Esempio n. 1
0
    private void NextTurn()
    {
        if (!landedOnRosette)
        {
            currentTurn = (currentTurn == PlayerType.Player1) ? PlayerType.Player2 : PlayerType.Player1;
            UpdatePlayerTurnText();
            StartCoroutine(DisablePassButton());
            camPerspective.SwitchPerspective();
        }

        UpdateTurnState(TurnStates.ROLLING);
    }
Esempio n. 2
0
    private void NextTurn(bool onRosette)
    {
        finishedTurn = true;

        if (!onRosette)
        {
            currentTurn = (currentTurn == PlayerType.Player1) ? PlayerType.Player2 : PlayerType.Player1;
            camPerspective.SwitchPerspective();
        }
    }