Beispiel #1
0
        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);
        }
Beispiel #2
0
 public Game(List <Player> players)
 {
     PlayerRotation         = new PlayerRotation();
     PlayerRotation.Players = new LinkedList <Player>(players);
     GameLog = new List <GameTurn>();
 }