Esempio n. 1
0
 public BattleResult(List<Player> homePlayers, List<Player> awayPlayers, string type, GameArea area, bool homeAttack, RandomGenerator generator)
 {
     HomePlayers = homePlayers.Select(player => player.Clone()).ToList();
     AwayPlayers = awayPlayers.Select(player => player.Clone()).ToList();
     Area = area;
     Type = type;
     IsHomeAttacking = homeAttack;
     _generator = generator;
     Execute();
 }
Esempio n. 2
0
 public BattleResult(List<Player> homePlayers, List<Player> awayPlayers, string type, bool homeAttack, RandomGenerator generator)
     : this(homePlayers, awayPlayers, type, null, homeAttack, generator)
 {
 }