Beispiel #1
0
        private void StartTurn(int player)
        {
            if (turnTimerCorutine != null)
            {
                turnTimerCorutine.StopCorutine();
            }
            CurrentPlayer = player;
            PlayerController current = playerControllers[player];

            turnTimerCorutine = WaitFor.StartTurnCorutine(current);
            StartCoroutine(current.TurnTimer(turnTimerCorutine));
            current.StartTurn();
        }