408

Creating behaviors
Summary

  • A Behavior is a base class extended to hold:
  • An initialize method called when made live
  • A processStimulus method called at wakeup
  • A WakeupCriterion defines a specific condition for behavior wakeup, including elapsed time, AWT events, etc.

  • A WakeupCondition combines together multiple WakeupCriterion

  • Behaviors are schedulable (if enabled) when the viewer's activation radius intersects the behavior's scheduling bounds
  • Default is no scheduling bounds, so nothing is scheduled!