Uses of Class
model.zone.Zone
Packages that use Zone
Package
Description
-
Uses of Zone in controller
Methods in controller with parameters of type Zone -
Uses of Zone in engine.engineMain
Methods in engine.engineMain with parameters of type Zone -
Uses of Zone in model
Modifier and TypeMethodDescriptionGameModel.queryZoneStatistics
(Coordinate coordinate) Gets the statistics of a specified zoneModifier and TypeMethodDescriptionGameModel.getUnderConstructions()
Gets all zones which status is still under constructed. -
Uses of Zone in model.city
Methods in model.city that return types with arguments of type ZoneMethods in model.city with parameters of type ZoneModifier and TypeMethodDescriptionvoid
Adding a zone to the collection and updating the nr of zones of this type in cityStatistics.void
CityRegistry.removeZone
(Zone zone) Removing a zone from the collection and updating the nr of zones of this type in cityStatistics. -
Uses of Zone in model.common
Methods in model.common that return ZoneModifier and TypeMethodDescriptionstatic Zone
HumanManufacture.getClosestWorkingPlace
(ArrayList<Zone> availableWorkingZones, Zone livingPlace, GameModel gm) Getting the closest working place (zone) from the available ones.Citizen.getLivingPlace()
static Zone
HumanManufacture.getLivingPlace
(GameModel gm) Getting an available random Residential zone.static Zone
HumanManufacture.getWorkingPlace
(GameModel gm, Zone livingPlace) Gets a working place that is connects to the giving living place.Citizen.getWorkplace()
Methods in model.common with parameters of type ZoneModifier and TypeMethodDescriptionboolean
Evaluates the condition for the facility to have effect on a given zonestatic void
HumanManufacture.createYoungCitizen
(GameModel gm, Zone workPlace, Zone livingPlace) Creates a young citizen with workPlace and livingPlace given.void
Applies special effect of the facility on a given zone.HumanManufacture.getAvailableSchools
(GameModel gm, Zone livingPlace) static ArrayList<University>
HumanManufacture.getAvailableUniversities
(GameModel gm, Zone livingPlace) static Zone
HumanManufacture.getClosestWorkingPlace
(ArrayList<Zone> availableWorkingZones, Zone livingPlace, GameModel gm) Getting the closest working place (zone) from the available ones.static int
Citizen.getDistanceLiveWork
(GameModel gm, Zone livingPlace, Zone workplace) Getting distance between living place and working place.static LevelOfEducation
HumanManufacture.getEducationLevel
(GameModel gm, Zone livingPlace) Returns a random available level of education.static Zone
HumanManufacture.getWorkingPlace
(GameModel gm, Zone livingPlace) Gets a working place that is connects to the giving living place.void
SideEffect.reverseEffect
(Zone zone, GameModel gm) Reverse special effect of the facility on a given zone.void
Citizen.setWorkplace
(GameModel gm, Zone workplace) Method parameters in model.common with type arguments of type ZoneModifier and TypeMethodDescriptionstatic Zone
HumanManufacture.getClosestWorkingPlace
(ArrayList<Zone> availableWorkingZones, Zone livingPlace, GameModel gm) Getting the closest working place (zone) from the available ones.Constructors in model.common with parameters of type ZoneModifierConstructorDescriptionCitizen
(Zone workplace, Zone livingPlace, LevelOfEducation levelOfEducation) -
Uses of Zone in model.facility
Methods in model.facility with parameters of type ZoneModifier and TypeMethodDescriptionabstract boolean
boolean
boolean
boolean
void
void
void
Forest.getBadEffectIndustrial
(Zone zone, GameModel gm) Filter out industrial zones lies between a given zone and the forest.void
Forest.grewEffect
(Zone zone, GameModel gm) The appending effect along the growth of the forest.boolean
Forest.hasDirectView
(Zone zone, Buildable[][] map) Checks if a zone can see the forest directlyvoid
Forest.reverseEffect
(Zone zone, GameModel gm) void
Police.reverseEffect
(Zone zone, GameModel gm) void
Stadium.reverseEffect
(Zone zone, GameModel gm) -
Uses of Zone in model.zone
Subclasses of Zone in model.zoneMethods in model.zone that return ZoneModifier and TypeMethodDescriptionCommercialZoneFactory.createZone
(Coordinate coordinate) IndustrialZoneFactory.createZone
(Coordinate coordinate) ResidentialZoneFactory.createZone
(Coordinate coordinate) abstract Zone
ZoneFactory.createZone
(Coordinate coordinate) Methods in model.zone with parameters of type ZoneModifier and TypeMethodDescriptionboolean
boolean
void
void
void
Pollution effects on the given zonevoid
CommercialZone.reverseEffect
(Zone zone, GameModel gm) void
IndustrialZone.reverseEffect
(Zone zone, GameModel gm) void
IndustrialZone.reversePollute
(Zone zone, GameModel gm) Removes pollution effects on the given zone -
Uses of Zone in view
Modifier and TypeMethodDescriptionvoid
ViewModel.createZoneSelector
(GameModel gameModel, Zone zone) ModifierConstructorDescriptionZoneSelector
(Controller controller, GameModel gameModel, Zone zone)