public void InjectDependencies(
     IPossessionRelationship <ICity, IHexCell> possessionCanon, CitySignals citySignals,
     HexCellSignals hexCellSignals, DiContainer container, IBorderExpansionLogic borderExpansionLogic,
     IPossessionRelationship <ICity, IHexCell> cellPossessionCanon
     )
 {
     PossessionCanon      = possessionCanon;
     CitySignals          = citySignals;
     HexCellSignals       = hexCellSignals;
     Container            = container;
     BorderExpansionLogic = borderExpansionLogic;
     CellPossessionCanon  = cellPossessionCanon;
 }
示例#2
0
 public void InjectDependencies(
     IPopulationGrowthLogic growthLogic, IProductionLogic productionLogic,
     IYieldGenerationLogic resourceGenerationLogic, IBorderExpansionLogic expansionLogic,
     IPossessionRelationship <ICity, IHexCell> tilePossessionCanon,
     IWorkerDistributionLogic distributionLogic, ICityProductionResolver cityProductionResolver,
     CitySignals signals
     )
 {
     GrowthLogic          = growthLogic;
     ProductionLogic      = productionLogic;
     YieldGenerationLogic = resourceGenerationLogic;
     ExpansionLogic       = expansionLogic;
     TilePossessionCanon  = tilePossessionCanon;
     DistributionLogic    = distributionLogic;
     ProductionResolver   = cityProductionResolver;
     Signals = signals;
 }
示例#3
0
 public void InjectDependencies(IBorderExpansionLogic expansionLogic, IYieldGenerationLogic resourceGenerationLogic)
 {
     ExpansionLogic       = expansionLogic;
     YieldGenerationLogic = resourceGenerationLogic;
 }