public void ChangeCurrentRound() { TurnCount++; Player aux = CurrentPlayerTurn; CurrentPlayerTurn = NextPlayerTurn; NextPlayerTurn = aux; OnChangeTurn?.Invoke(); }
public void ChangeTurn() { switch (turn) { case WhoTurn.Player: turn = WhoTurn.AI; break; case WhoTurn.AI: turn = WhoTurn.Player; break; default: break; } OnChangeTurn?.Invoke(turn); }