227

Creating Behaviors
Behaviors

  • Every behavior contains:
  • Code to run, contained within a processStimulus method

  • Wakeup conditions controlling when to run next

  • Scheduling bounds controlling scheduling
  • When the viewer's activation radius intersects the bounds, the behavior is scheduled