Package model.common
Class ZoneSatisfaction
java.lang.Object
model.common.ZoneSatisfaction
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble
int
int
int
int
double
double
void
setForestEffect
(double forestEffect) void
setFreeWorkplaceEffect
(int freeWorkplaceEffect) void
setIndustrialEffect
(int noIndustrialEffect) void
setPoliceEffect
(int policeEffect) void
setStadiumEffect
(int stadiumEffect) toString()
-
Constructor Details
-
ZoneSatisfaction
public ZoneSatisfaction()
-
-
Method Details
-
getPoliceEffect
public int getPoliceEffect() -
getFreeWorkplaceEffect
public int getFreeWorkplaceEffect() -
getStadiumEffect
public int getStadiumEffect() -
getIndustrialEffect
public int getIndustrialEffect() -
getForestEffect
public double getForestEffect() -
setPoliceEffect
public void setPoliceEffect(int policeEffect) -
setFreeWorkplaceEffect
public void setFreeWorkplaceEffect(int freeWorkplaceEffect) -
setStadiumEffect
public void setStadiumEffect(int stadiumEffect) -
setIndustrialEffect
public void setIndustrialEffect(int noIndustrialEffect) -
setForestEffect
public void setForestEffect(double forestEffect) -
getTotalZoneSatisfaction
- Returns:
- total satisfaction for a zone
-
getZoneRelatedSatisfaction
public double getZoneRelatedSatisfaction()- Returns:
- related satisfaction for a zone
-
toString
-