void OnEndTurnMessage() { if (playingPlayer == null) { Log.Warn("Already cleaned up"); return; } playingPlayer.SetPlaying(false); playingPlayer = null; }
void IsMyTurn(TBPlayer player) { if (playingPlayer != null) { Log.Error("A player is already playing here!"); return; } playingPlayer = player; playingPlayer.SetPlaying(true); if (player.IsLocal()) { StartCoroutine(PlayTurn()); } }
protected abstract void OnEndTurn(TBPlayer player);
protected abstract void OnStartTurn(TBPlayer player);