jasi.sim.user.model.sense
Interface Sensable
- All Superinterfaces:
- java.lang.Comparable<Element>, Element, Movable, java.io.Serializable, SimObject
public interface Sensable
- extends Movable
Interface for a passive element of the sensor model. These are elements which
can be sensed by sensors.
Methods inherited from interface java.lang.Comparable |
compareTo |
sensingElements
java.util.Collection<Sensing> sensingElements()
- Get the collection of elements that are sensing this sensed element.
- Returns:
- The collection of sensing elements.
addSensingElement
void addSensingElement(Sensing element)
- Add that sensing element to the list of sensing elements.
- Parameters:
element
- That sensing element.
removeSensingElement
void removeSensingElement(Sensing element)
- Remove that sensing element from the list of sensing elements.
- Parameters:
element
- That sensing element.