예제 #1
0
 public UnitMaintenanceLogic(
     IFreeUnitsLogic freeUnitsLogic, ICivModifiers civModifiers,
     IPossessionRelationship <ICivilization, IUnit> unitPossessionCanon,
     IUnitGarrisonLogic unitGarrisonLogic
     )
 {
     FreeUnitsLogic      = freeUnitsLogic;
     CivModifiers        = civModifiers;
     UnitPossessionCanon = unitPossessionCanon;
     UnitGarrisonLogic   = unitGarrisonLogic;
 }
 public CityCenterYieldLogic(
     IIncomeModifierLogic incomeModifierLogic, ICityConfig cityConfig,
     IPossessionRelationship <ICivilization, ICity> cityPossessionCanon,
     IUnitGarrisonLogic unitGarrisonLogic, ICityModifiers cityModifiers
     )
 {
     IncomeModifierLogic = incomeModifierLogic;
     CityPossessionCanon = cityPossessionCanon;
     CityConfig          = cityConfig;
     UnitGarrisonLogic   = unitGarrisonLogic;
     CityModifiers       = cityModifiers;
 }
 public CityHappinessLogic(
     ICityConfig config, IPossessionRelationship <ICity, IBuilding> buildingPossessionCanon,
     ICityModifiers cityModifiers, ICapitalConnectionLogic capitalConnectionLogic,
     IUnitGarrisonLogic unitGarrisonLogic
     )
 {
     Config = config;
     BuildingPossessionCanon = buildingPossessionCanon;
     CityModifiers           = cityModifiers;
     CapitalConnectionLogic  = capitalConnectionLogic;
     UnitGarrisonLogic       = unitGarrisonLogic;
 }