コード例 #1
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;
        }
コード例 #2
0
ファイル: PlanetGeneratorModule.cs プロジェクト: dfgs/PIO
 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;
 }
コード例 #3
0
 public ResourceCheckerModule(ILogger Logger, IBuildingModule BuildingModule, IStackModule StackModule, IIngredientModule IngredientModule, IMaterialModule MaterialModule) : base(Logger)
 {
     this.buildingModule = BuildingModule; this.stackModule = StackModule; this.ingredientModule = IngredientModule; this.materialModule = MaterialModule;
 }
コード例 #4
0
 public ProducerModule(ILogger Logger, ITaskModule TaskModule, IWorkerModule WorkerModule, IBuildingModule BuildingModule, IBuildingTypeModule BuildingTypeModule, IStackModule StackModule, IIngredientModule IngredientModule, IProductModule ProductModule) : base(Logger, TaskModule, WorkerModule)
 {
     this.buildingModule = BuildingModule; this.buildingTypeModule = BuildingTypeModule; this.stackModule = StackModule; this.ingredientModule = IngredientModule; this.productModule = ProductModule;
 }