//Switches which player is playing. Coroutine runs until the player has decided on a move. void CycleTurns() { if (currentPlayer != null) { playerTurns.Enqueue(currentPlayer); } currentPlayer = playerTurns.Dequeue(); StartCoroutine(currentPlayer.GetDecision(gameBoard)); }