private PlayerRotation Reverse(PlayerRotation playerRotation) { var r = new PlayerRotation(); r.Players = new LinkedList <Player>(); for (var i = playerRotation.Players.Count() - 1; i >= 0; i--) { r.Players.AddLast(playerRotation.Players.ElementAt(i)); } return(r); }
public Game(List <Player> players) { PlayerRotation = new PlayerRotation(); PlayerRotation.Players = new LinkedList <Player>(players); GameLog = new List <GameTurn>(); }