示例#1
0
        public static Player AddPlayer()
        {
            Player Player = new Player();

            Player.Index = PlayerList.Count;

            PlayerList.Add(Player);

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