Exemple #1
0
 public PlanetGeneratorModule(ILogger Logger, IPhraseModule PhraseModule, IResourceTypeModule ResourceTypeModule, IBuildingTypeModule BuildingTypeModule, ITaskTypeModule TaskTypeModule, IMaterialModule MaterialModule, IIngredientModule IngredientModule, IProductModule ProductModule,
                              IPlanetModule PlanetModule, ICellModule CellModule, IBuildingModule BuildingModule, IWorkerModule WorkerModule
                              ) : base(Logger)
 {
     this.phraseModule       = PhraseModule;
     this.resourceTypeModule = ResourceTypeModule; this.buildingTypeModule = BuildingTypeModule; this.taskTypeModule = TaskTypeModule; this.materialModule = MaterialModule; this.ingredientModule = IngredientModule; this.productModule = ProductModule;
     this.planetModule       = PlanetModule; this.cellModule = CellModule; this.buildingModule = BuildingModule; this.workerModule = WorkerModule;
 }
Exemple #2
0
        public PIOService(ILogger Logger,
                          IPhraseModule PhraseModule, IPlanetModule PlanetModule, ICellModule CellModule,
                          IBuildingModule BuildingModule,
                          IWorkerModule WorkerModule,
                          IStackModule StackModule, IResourceTypeModule ResourceTypeModule,
                          IBuildingTypeModule BuildingTypeModule,
                          ITaskTypeModule TaskTypeModule,
                          IMaterialModule MaterialModule,
                          IIngredientModule IngredientModule, IProductModule ProductModule,
                          ITaskModule TaskModule,

                          ISchedulerModule SchedulerModule,

                          IResourceCheckerModule ResourceCheckerModule, ILocationCheckerModule LocationCheckerModule,
                          IIdlerModule IdlerModule, IProducerModule ProducerModule, IHarvesterModule HarvesterModule,
                          IMoverModule MoverModule, ITakerModule TakerModule, IStorerModule StorerModule,
                          IBuilderModule BuilderModule
                          ) : base(Logger)
        {
            LogEnter();

            this.phraseModule = PhraseModule;

            this.planetModule = PlanetModule;
            this.cellModule   = CellModule;

            this.buildingModule = BuildingModule;

            this.workerModule          = WorkerModule;
            this.stackModule           = StackModule;
            this.locationCheckerModule = LocationCheckerModule;
            this.resourceTypeModule    = ResourceTypeModule;
            this.taskTypeModule        = TaskTypeModule;

            this.buildingTypeModule = BuildingTypeModule;

            this.taskTypeModule   = TaskTypeModule;
            this.materialModule   = MaterialModule;
            this.ingredientModule = IngredientModule;
            this.productModule    = ProductModule;
            this.taskModule       = TaskModule;


            this.resourceCheckerModule = ResourceCheckerModule;
            this.idlerModule           = IdlerModule;
            this.producerModule        = ProducerModule;
            this.harvesterModule       = HarvesterModule;
            this.moverModule           = MoverModule;
            this.takerModule           = TakerModule;
            this.storerModule          = StorerModule;

            this.builderModule = BuilderModule;
        }