WakeupOnActivation, WakeupOnAWTEvent, WakeupOnBehaviorPost, WakeupOnCollisionEntry, WakeupOnCollisionExit, WakeupOnCollisionMovement, WakeupOnDeactivation, WakeupOnElapsedFrames, WakeupOnElapsedTime, WakeupOnSensorEntry, WakeupOnSensorExit, WakeupOnTransformChange, WakeupOnViewPlatformEntry, WakeupOnViewPlatformExitpublic abstract class WakeupCriterion extends WakeupCondition
Note that a unique WakeupCriterion object must be used with each instance of a Behavior. Sharing wakeup criteria among different instances of a Behavior is illegal. Similarly, a unique WakeupCriterion object must be used for each individual element in the set of arrays used to construct WakeupOr, WakeupAnd, WakeupOrOfAnds, and WakeupAndOfOrs objects.
| Constructor | Description |
|---|---|
WakeupCriterion() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
hasTriggered() |
Returns true if this criterion triggered the wakeup.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitallElements, triggeredElementsCopyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.