public ProductionProjectFactory( IBuildingFactory buildingFactory, IUnitFactory unitFactory, IPossessionRelationship <ICivilization, ICity> cityPossessionCanon, IPossessionRelationship <IHexCell, ICity> cityLocationCanon, IStartingExperienceLogic startingExperienceLogic, ILocalPromotionLogic localPromotionLogic ) { BuildingFactory = buildingFactory; UnitFactory = unitFactory; CityPossessionCanon = cityPossessionCanon; CityLocationCanon = cityLocationCanon; StartingExperienceLogic = startingExperienceLogic; LocalPromotionLogic = localPromotionLogic; }
public ProductionProject( IUnitTemplate unitToConstruct, IUnitFactory unitFactory, IPossessionRelationship <ICivilization, ICity> cityPossessionCanon, IPossessionRelationship <IHexCell, ICity> cityLocationCanon, IStartingExperienceLogic startingExperienceLogic, ILocalPromotionLogic localPromotionLogic ) { if (unitToConstruct == null) { throw new ArgumentNullException("unitToConstruct"); } UnitToConstruct = unitToConstruct; UnitFactory = unitFactory; CityPossessionCanon = cityPossessionCanon; CityLocationCanon = cityLocationCanon; StartingExperienceLogic = startingExperienceLogic; LocalPromotionLogic = localPromotionLogic; }