protected StaticZoneClusterConsumption( Func <ZoneInfoFinder> createZoneInfoFinderFunc, IElectricityBehaviour electricityBehaviour, int pollutionInUnits, Color color, int widthInZones, int heightInZones) : base(createZoneInfoFinderFunc, electricityBehaviour, color, widthInZones, heightInZones) { PollutionBehaviour = new DynamicPollutionBehaviour(() => pollutionInUnits); }
protected BaseImplementedZoneClusterConsumption( Func <ZoneInfoFinder> createZoneInfoFinderFunc, IElectricityBehaviour electricityBehaviour, Color color, int widthInZones, int heightInZones) : base(electricityBehaviour) { _zoneClusterMembers = ZoneClusterMemberConsumption .Generate(this, createZoneInfoFinderFunc, widthInZones, heightInZones, color) .ToList(); }
protected BaseZoneClusterConsumption(IElectricityBehaviour electricityBehaviour) { ElectricityBehaviour = electricityBehaviour; }
internal SeaPortZoneClusterConsumption(Func <ZoneInfoFinder> createZoneInfoFinderFunc, IElectricityBehaviour electricityBehaviour) : base( createZoneInfoFinderFunc: createZoneInfoFinderFunc, electricityBehaviour: electricityBehaviour, pollutionInUnits: 90, color: Color.Navy, widthInZones: 4, heightInZones: 4 ) { }