|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mars_sim.msp.core.structure.building.function.Function
org.mars_sim.msp.core.structure.building.function.VehicleMaintenance
org.mars_sim.msp.core.structure.building.function.GroundVehicleMaintenance
public class GroundVehicleMaintenance
The GroundVehicleMaintenance class is a building function for a building capable of maintaining ground vehicles.
| Field Summary | |
|---|---|
static java.lang.String |
NAME
|
| Fields inherited from class org.mars_sim.msp.core.structure.building.function.VehicleMaintenance |
|---|
vehicleCapacity |
| Constructor Summary | |
|---|---|
GroundVehicleMaintenance(Building building)
Constructor |
|
| Method Summary | |
|---|---|
static double |
getFunctionValue(java.lang.String buildingName,
boolean newBuilding,
Settlement settlement)
Gets the value of the function for a named building. |
| Methods inherited from class org.mars_sim.msp.core.structure.building.function.VehicleMaintenance |
|---|
addVehicle, containsVehicle, getCurrentVehicleNumber, getFullPowerRequired, getPowerDownPowerRequired, getVehicleCapacity, getVehicles, removeVehicle, timePassing |
| Methods inherited from class org.mars_sim.msp.core.structure.building.function.Function |
|---|
getBuilding, getMalfunctionScopeStrings, getName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String NAME
| Constructor Detail |
|---|
public GroundVehicleMaintenance(Building building)
throws BuildingException
building - the building the function is for.
BuildingException - if error in construction.| Method Detail |
|---|
public static final double getFunctionValue(java.lang.String buildingName,
boolean newBuilding,
Settlement settlement)
throws java.lang.Exception
buildingName - the building name.newBuilding - true if adding a new building.settlement - the settlement.
java.lang.Exception - if error getting function value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||