org.mars_sim.msp.simulation.equipment
Class Equipment

java.lang.Object
  extended by org.mars_sim.msp.simulation.Unit
      extended by org.mars_sim.msp.simulation.equipment.Equipment
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Bag, Barrel, EVASuit, GasCanister, SpecimenContainer

public abstract class Equipment
extends Unit

The Equipment class is an abstract class that represents a useful piece of equipment, such as a EVA suite or a medpack.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mars_sim.msp.simulation.Unit
CONTAINER_UNIT_EVENT, DESCRIPTION_EVENT, LOCATION_EVENT, MASS_EVENT, NAME_EVENT
 
Method Summary
 java.util.Collection<Person> getAffectedPeople()
          Gets a collection of people affected by this entity.
 
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
 

Method Detail

getAffectedPeople

public java.util.Collection<Person> getAffectedPeople()
Gets a collection of people affected by this entity.

Returns:
person collection