示例#1
0
        public Manager(IBattleOperator battleOperator)
        {
            this.battleOperator = battleOperator;

            this.partFactory     = new PartFactory();
            this.aircraftFactory = new AirCraftFactory();

            this.aircrafts         = new Dictionary <string, IAirCraft>();
            this.parts             = new Dictionary <string, IPart>();
            this.defeatedAircrafts = new List <string>();
        }
 protected Command(IList <string> arguments)
 {
     this.arguments       = arguments;
     this.partFactory     = new PartFactory();
     this.aircraftFactory = new AirCraftFactory();
 }