IEnumerator nextTurn() { currentTurn++; Player current = players[currentTurn % players.Count]; yield return(StartCoroutine(notification.displayNotification("It is now " + current.displayName() + "'s turn."))); yield return(StartCoroutine(current.takeTurn())); }
public IEnumerator displayNotificationMessage(string message) { return(notification.displayNotification(message)); }