示例#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();
 }
示例#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();
        }
示例#3
0
        public MachinesManager()
        {
            this.pilotFactory    = new PilotFactory();
            this.pilotRepository = new PilotRepository();

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