version 12 by Michael Callaghan

  • Home page
  • Beginning
  • Previous
  • Next

  • Section: Starting and stopping a Patroller
    A patroller begins the game as an Off Patrol character. We have to specify when the patroller begins to follow its route. To do so, we use the form Activate Patroller. We can do this when play begins or when something happens in the game to trigger the character's movement:
        When play begins:
            activate the Dog.
        After opening the gate:
            activate the Dog.
    Similarly, to stop a patroller, we use the form Deactivate Patroller.
        After giving the bone to the dog:
            deactivate the dog.