public final class WakeupOnSensorExit extends WakeupCriterion
Constructor and Description |
---|
WakeupOnSensorExit(Bounds region)
Constructs a new WakeupOnExit criterion.
|
Modifier and Type | Method and Description |
---|---|
Bounds |
getBounds()
Returns this object's bounds specification
|
Sensor |
getTriggeringSensor()
Retrieves the Sensor object that caused the wakeup.
|
hasTriggered
allElements, triggeredElements
public WakeupOnSensorExit(Bounds region)
region
- the region that will trigger a wakeup if a Sensor
intersects.public Bounds getBounds()
public Sensor getTriggeringSensor()
IllegalStateException
- if not called from within
a behavior's processStimulus method which was awoken by a sensor
exit.Copyright © 2016–2022 SciJava. All rights reserved.