Пример #1
0
 public StructureBuildActiveAction(uint cityId,
                                   ushort type,
                                   uint x,
                                   uint y,
                                   byte level,
                                   IObjectTypeFactory objectTypeFactory,
                                   IWorld world,
                                   Formula formula,
                                   IRequirementCsvFactory requirementCsvFactory,
                                   IStructureCsvFactory structureCsvFactory,
                                   ILocker concurrency,
                                   Procedure procedure,
                                   IRoadPathFinder roadPathFinder,
                                   ITileLocator tileLocator,
                                   CallbackProcedure callbackProcedure)
     : this(objectTypeFactory, world, formula, requirementCsvFactory, structureCsvFactory, concurrency, procedure, roadPathFinder, tileLocator, callbackProcedure)
 {
     this.cityId = cityId;
     this.type   = type;
     this.X      = x;
     this.Y      = y;
     this.level  = level;
 }
Пример #2
0
 public CityCreatePassiveAction(IActionFactory actionFactory,
                                ICityRemoverFactory cityRemoverFactory,
                                Formula formula,
                                IWorld world,
                                ILocker locker,
                                IObjectTypeFactory objectTypeFactory,
                                IStructureCsvFactory structureCsvFactory,
                                ICityFactory cityFactory,
                                Procedure procedure,
                                IBarbarianTribeManager barbarianTribeManager,
                                CallbackProcedure callbackProcedure)
 {
     this.actionFactory      = actionFactory;
     this.cityRemoverFactory = cityRemoverFactory;
     this.formula            = formula;
     this.world                 = world;
     this.locker                = locker;
     this.objectTypeFactory     = objectTypeFactory;
     this.structureCsvFactory   = structureCsvFactory;
     this.cityFactory           = cityFactory;
     this.procedure             = procedure;
     this.barbarianTribeManager = barbarianTribeManager;
     this.callbackProcedure     = callbackProcedure;
 }
Пример #3
0
 public TechnologyCreatePassiveAction(TechnologyFactory technologyFactory, CallbackProcedure callbackProcedure)
 {
     this.technologyFactory = technologyFactory;
     this.callbackProcedure = callbackProcedure;
 }