393

Creating behaviors
Waking up a behavior

  • Even when scheduled, a behavior runs only when wakeup criterion are met
  • A number of frames or milliseconds have elapsed
  • A behavior or AWT posts an event
  • A transform changes in a TransformGroup
  • A shape collides with another shape
  • A view platform or sensor gets close
  • Multiple criteria can be AND/ORed to form wakeup conditions