public MachinesManager( IPilotFactory pilotFactory, ITankFactory tankFactory, IFighterFactory fighterFactory) { this.pilotFactory = pilotFactory; this.tankFactory = tankFactory; this.fighterFactory = fighterFactory; this.pilots = new List <IPilot>(); this.machines = new List <IMachine>(); }
public FightSimulator(IFighterFactory fighterFactory) { this.fighterFactory = fighterFactory; }