org.mars_sim.msp.simulation.malfunction
Interface Malfunctionable

All Known Implementing Classes:
Building, EVASuit, GroundVehicle, LightUtilityVehicle, MockBuilding, MockSettlement, MockVehicle, Rover, Settlement, Structure, Vehicle

public interface Malfunctionable

The Malfunctionable interface represents a Unit that can have malfunctions.


Method Summary
 java.util.Collection<Person> getAffectedPeople()
          Gets a collection of people affected by this entity.
 Inventory getInventory()
          Gets the inventory associated with this entity.
 MalfunctionManager getMalfunctionManager()
          Gets the entity's malfunction manager.
 java.lang.String getName()
          Gets the name of the malfunctionable entity.
 

Method Detail

getMalfunctionManager

MalfunctionManager getMalfunctionManager()
Gets the entity's malfunction manager.

Returns:
malfunction manager

getName

java.lang.String getName()
Gets the name of the malfunctionable entity.

Returns:
name the entity name

getAffectedPeople

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

Returns:
person collection

getInventory

Inventory getInventory()
Gets the inventory associated with this entity.

Returns:
inventory