Esempio n. 1
0
        public static Player AddPlayer()
        {
            Player Player = new Player();

            Player.Index = PlayerList.Count;

            PlayerList.Add(Player);

            return Player;
        }
Esempio n. 2
0
 public static Player Next(Player Player)
 {
     return PlayerList[(PlayerList.IndexOf(Player) + 1) == PlayerList.Count ? 0 : (PlayerList.IndexOf(Player) + 1)];
 }