|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mars_sim.msp.simulation.Unit
org.mars_sim.msp.simulation.equipment.Equipment
org.mars_sim.msp.simulation.equipment.Bag
public class Bag
A bag container for holding solid amount resources.
| Field Summary | |
|---|---|
static java.lang.String |
TYPE
|
| Fields inherited from class org.mars_sim.msp.simulation.Unit |
|---|
CONTAINER_UNIT_EVENT, DESCRIPTION_EVENT, LOCATION_EVENT, MASS_EVENT, NAME_EVENT |
| Constructor Summary | |
|---|---|
Bag(Coordinates location,
double capacity)
|
|
| Method Summary | |
|---|---|
Phase |
getContainingResourcePhase()
Gets the phase of resources this container can hold. |
| Methods inherited from class org.mars_sim.msp.simulation.equipment.Equipment |
|---|
getAffectedPeople |
| Methods inherited from class org.mars_sim.msp.simulation.Unit |
|---|
addUnitListener, fireUnitUpdate, fireUnitUpdate, getBaseMass, getContainerUnit, getCoordinates, getDescription, getInventory, getMass, getName, getTopContainerUnit, getUnitManager, removeUnitListener, setBaseMass, setContainerUnit, setCoordinates, setDescription, setName, timePassing, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String TYPE
| Constructor Detail |
|---|
public Bag(Coordinates location,
double capacity)
throws java.lang.Exception
java.lang.Exception| Method Detail |
|---|
public Phase getContainingResourcePhase()
getContainingResourcePhase in interface Container
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||