|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mars_sim.msp.simulation.Airlock
org.mars_sim.msp.simulation.vehicle.VehicleAirlock
public class VehicleAirlock
The VehicleAirlock class represents an airlock for a vehicle.
| Field Summary |
|---|
| Fields inherited from class org.mars_sim.msp.simulation.Airlock |
|---|
pressurized |
| Constructor Summary | |
|---|---|
VehicleAirlock(Vehicle vehicle,
int capacity)
Constructor |
|
| Method Summary | |
|---|---|
protected void |
exitAirlock(Person person)
Causes a person within the airlock to exit either inside or outside. |
Inventory |
getEntityInventory()
Gets the inventory of the entity this airlock is attached to. |
java.lang.String |
getEntityName()
Gets the name of the entity this airlock is attached to. |
| Methods inherited from class org.mars_sim.msp.simulation.Airlock |
|---|
activateAirlock, addActivationTime, enterAirlock, inAirlock, isInnerDoorOpen, isOuterDoorOpen, timePassing |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VehicleAirlock(Vehicle vehicle,
int capacity)
vehicle - the vehicle this airlock of for.capacity - number of people airlock can hold.
java.lang.IllegalArgumentException - if vehicle is not valid or if
capacity is less than one.| Method Detail |
|---|
protected void exitAirlock(Person person)
throws java.lang.Exception
exitAirlock in class Airlockperson - the person to exit.
java.lang.Exception - if person is not in the airlock.public java.lang.String getEntityName()
getEntityName in class Airlockpublic Inventory getEntityInventory()
getEntityInventory in class Airlock
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||