|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mars_sim.msp.simulation.structure.building.function.Function
org.mars_sim.msp.simulation.structure.building.function.EVA
public class EVA
The EVA class is a building function for extra vehicular activity.
Field Summary | |
---|---|
static java.lang.String |
NAME
|
Constructor Summary | |
---|---|
EVA(Building building)
Constructor |
Method Summary | |
---|---|
Airlock |
getAirlock()
Gets the building's airlock. |
double |
getFullPowerRequired()
Gets the amount of power required when function is at full power. |
double |
getPowerDownPowerRequired()
Gets the amount of power required when function is at power down level. |
void |
timePassing(double time)
Time passing for the building. |
Methods inherited from class org.mars_sim.msp.simulation.structure.building.function.Function |
---|
getBuilding, 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 EVA(Building building) throws BuildingException
building
- the building this function is for.
BuildingException
- if function cannot be constructed.Method Detail |
---|
public Airlock getAirlock()
public void timePassing(double time) throws BuildingException
timePassing
in class Function
time
- amount of time passing (in millisols)
BuildingException
- if error occurs.public double getFullPowerRequired()
getFullPowerRequired
in class Function
public double getPowerDownPowerRequired()
getPowerDownPowerRequired
in class Function
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |