| |
|
| java.lang.Object javax.media.j3d.WakeupCondition javax.media.j3d.WakeupCriterion javax.media.j3d.WakeupOnElapsedTime
WakeupOnElapsedTime | final public class WakeupOnElapsedTime extends WakeupCriterion (Code) | | Class specifying a wakeup when a specific number of milliseconds
have elapsed.
|
Constructor Summary | |
public | WakeupOnElapsedTime(long milliseconds) Constructs a new WakeupOnElapsedTime criterion.
Parameters: milliseconds - the number of milliseconds to the wakeup. |
triggeredTime | long triggeredTime(Code) | | This represents the triggered time
|
WakeupOnElapsedTime | public WakeupOnElapsedTime(long milliseconds)(Code) | | Constructs a new WakeupOnElapsedTime criterion.
Parameters: milliseconds - the number of milliseconds to the wakeup. A valueof zero or less will cause an IllegalArgumentException to be thrown. |
addBehaviorCondition | void addBehaviorCondition(BehaviorStructure bs)(Code) | | This is a callback from BehaviorStructure. It is
used to add wakeupCondition to behavior structure.
|
getElapsedFrameTime | public long getElapsedFrameTime()(Code) | | Retrieve the WakeupCriterion's elapsed time value that was used when
constructing this object.
the elapsed time specified when constructing this object |
reInsertElapseTimeCond | void reInsertElapseTimeCond()(Code) | | This is invoked when Behavior processStimulus can't schedule
to run because behav.active = false. In this case we must
reinsert the wakeupOnElapseTime condition back to the
TimerThread wakeup heap
|
removeBehaviorCondition | void removeBehaviorCondition(BehaviorStructure bs)(Code) | | This is a callback from BehaviorStructure. It is
used to remove wakeupCondition from behavior structure.
|
resetBehaviorCondition | void resetBehaviorCondition(BehaviorStructure bs)(Code) | | Perform task in addBehaviorCondition() that has to be
set every time the condition met.
|
Fields inherited from javax.media.j3d.WakeupCriterion | boolean triggered(Code)(Java Doc)
|
|
|
|