Пример #1
0
        public void RemovePlayers(params WarPlayer[] players)
        {
            foreach (var player in players)
            {
                player.Game = null;
                this.players.Remove(player);
            }

            battleTracker = new BattleTracker(this.players.ToArray());
        }
Пример #2
0
        public void AddPlayers(params WarPlayer[] players)
        {
            foreach (var player in players)
            {
                player.Game = this;
                this.players.Add(player);
            }

            battleTracker = new BattleTracker(this.players.ToArray());
        }