public BattleEngine(IFightEngine engine, IWarriorFactory warriorFactory, ILogService logger, int redArmySize, int blueArmySize) { this.fightEngine = engine; this.factory = warriorFactory; this.logger = logger; this.redArmySize = redArmySize; this.blueArmySize = blueArmySize; this.fightEngine.FightEvent += this.HandleFightEvent; }
public BattleEngine(IFightEngine engine, IWarriorFactory warriorFactory, ILogService logger, int redArmySize, int blueArmySize) { this.fightEngine = engine; this.factory = warriorFactory; this.logger = logger; this.redArmySize = redArmySize; this.blueArmySize = blueArmySize; this.fightEngine.FightEvent += this.HandleFightEvent; }