Package model.facility
Class Education
java.lang.Object
model.facility.Facility
model.facility.Education
- All Implemented Interfaces:
Serializable
,Buildable
- Direct Known Subclasses:
School
,University
- See Also:
-
Field Summary
FieldsFields inherited from class model.facility.Facility
coordinate, dimension, maintenanceFee, oneTimeCost
-
Constructor Summary
ConstructorsConstructorDescriptionEducation
(int oneTimeCost, int maintenanceFee, Coordinate coordinate, Dimension dimension, int capacity, int yearsToGraduate, LevelOfEducation levelOfEducation) -
Method Summary
Methods inherited from class model.facility.Facility
getCoordinate, getDimension, getMaintenanceFee, getOneTimeCost, isConnected, resetConnected, setConnected, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface model.common.Buildable
getBuildableType, isUnderConstruction
-
Field Details
-
capacity
protected int capacity -
yearsToGraduate
protected int yearsToGraduate -
levelOfEducation
-
-
Constructor Details
-
Education
public Education(int oneTimeCost, int maintenanceFee, Coordinate coordinate, Dimension dimension, int capacity, int yearsToGraduate, LevelOfEducation levelOfEducation)
-
-
Method Details
-
getCapacity
public int getCapacity()
-