Esempio n. 1
0
 public MachinesManager()
 {
     this.pilots         = new List <IPilot>();
     this.machines       = new List <IMachine>();
     this.pilotFactory   = new PilotFactory();
     this.fighterFactory = new FighterFactory();
     this.tankFactory    = new TankFactory();
 }
Esempio n. 2
0
        public MachinesManager()
        {
            this.pilots   = new Dictionary <string, IPilot>();
            this.machines = new Dictionary <string, IMachine>();

            this.pilotFactory   = new PilotFactory();
            this.tankFactory    = new TankFactory();
            this.fighterFactory = new FighterFactory();
        }
Esempio n. 3
0
        public MachinesManager()
        {
            this.pilotFactory    = new PilotFactory();
            this.pilotRepository = new PilotRepository();

            this.fighterFactory    = new FighterFactory();
            this.tankFactory       = new TankFactory();
            this.machineRepository = new MashineRepository();
        }