public void StopTurn() { MoveAmount = -1; if (Phase) { Phase.ExitPhase(); StopCoroutine(phaseRoutine); } }
public IEnumerator PlayTurn() { foreach (var phase in phases) { Phase = phase; phaseRoutine = StartCoroutine(phase.PlayPhase()); yield return(phaseRoutine); Phase.ExitPhase(); } turnManager.NextTurn(); }