public void PickNextPresident(int playerId) { try { CurrentRound.MoveToNextRound(); CurrentRound.PresidentId = playerId; } catch (Exception ex) { Console.WriteLine("PickNextPresident.ex: " + ex.Message); } }
public void MoveToNextTurn() { try { CurrentRound.MoveToNextRound(); presidentIndex = ((++presidentIndex) % AlivePlayers.Count); CurrentRound.PresidentId = AlivePlayers[presidentIndex].UserId; } catch (Exception ex) { Console.WriteLine("MoveToNexTurn.ex:" + ex.Message); } }