public YieldGenerationLogic(
     ICityConfig config,
     IPossessionRelationship <ICity, IHexCell> cellPossessionCanon,
     IPossessionRelationship <ICity, IBuilding> buildingPossessionCanon,
     IIncomeModifierLogic incomeModifierLogic,
     IPossessionRelationship <ICivilization, ICity> cityPossessionCanon,
     ICellYieldLogic cellResourceLogic,
     IBuildingInherentYieldLogic buildingResourceLogic,
     IUnemploymentLogic unemploymentLogic,
     ICityCenterYieldLogic cityCenterYieldLogic
     )
 {
     Config = config;
     CellPossessionCanon     = cellPossessionCanon;
     BuildingPossessionCanon = buildingPossessionCanon;
     IncomeModifierLogic     = incomeModifierLogic;
     CityPossessionCanon     = cityPossessionCanon;
     CellYieldLogic          = cellResourceLogic;
     BuildingYieldLogic      = buildingResourceLogic;
     UnemploymentLogic       = unemploymentLogic;
     CityCenterYieldLogic    = cityCenterYieldLogic;
 }
Ejemplo n.º 2
0
 public void InjectDependencies(
     IHexCellSignalLogic signalLogic,
     IYieldGenerationLogic generationLogic,
     IPossessionRelationship <ICity, IHexCell> cellPossessionCanon,
     IPossessionRelationship <IHexCell, IResourceNode> resourceNodePositionCanon,
     IImprovementLocationCanon improvementLocationCanon,
     ICellYieldLogic cellResourceLogic,
     IGameCore gameCore,
     IVisibilityCanon visibilityCanon,
     IExplorationCanon explorationCanon,
     IEncampmentLocationCanon encampmentLocationCanon
     )
 {
     SignalLogic               = signalLogic;
     GenerationLogic           = generationLogic;
     CellPossessionCanon       = cellPossessionCanon;
     ResourceNodePositionCanon = resourceNodePositionCanon;
     ImprovementLocationCanon  = improvementLocationCanon;
     CellYieldLogic            = cellResourceLogic;
     GameCore                = gameCore;
     VisibilityCanon         = visibilityCanon;
     ExplorationCanon        = explorationCanon;
     EncampmentLocationCanon = encampmentLocationCanon;
 }