|
||||||||||
| 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
public abstract class Function
A settlement building function.
| Constructor Summary | |
|---|---|
Function(java.lang.String name,
Building building)
Constructor |
|
| Method Summary | |
|---|---|
Building |
getBuilding()
Gets the function's building. |
abstract double |
getFullPowerRequired()
Gets the amount of power required when function is at full power. |
java.lang.String |
getName()
Gets the function name. |
abstract double |
getPowerDownPowerRequired()
Gets the amount of power required when function is at power down level. |
abstract void |
timePassing(double time)
Time passing for the building. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Function(java.lang.String name,
Building building)
name - the function name.| Method Detail |
|---|
public java.lang.String getName()
public Building getBuilding()
public abstract void timePassing(double time)
throws BuildingException
time - amount of time passing (in millisols)
BuildingException - if error occurs.public abstract double getFullPowerRequired()
public abstract double getPowerDownPowerRequired()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||