public class BasicXRaySensor extends XRaySensor
Modifier and Type | Field and Description |
---|---|
private java.util.Collection<Luggage> |
checkedLuggage
The bags that are checked already.
|
lastObservedLuggage
shape
position
map
Constructor and Description |
---|
BasicXRaySensor(java.util.List<Position> corners)
Creates an X-Ray sensor from its corner
Position s. |
Modifier and Type | Method and Description |
---|---|
Observation<?> |
getObservation()
Gets an
Observation from the sensor. |
getLastObservedLuggage
contains, contains, generatePosition, generatePosition, generatePositions, generatePositions, getCorners, getVectorToPosition, isCollision, isLineCollision, toString
getDistance, getPosition
isDestroyed
private java.util.Collection<Luggage> checkedLuggage
public Observation<?> getObservation()
Sensor
Observation
from the sensor.getObservation
in class Sensor