Patrollers

version 12 by Michael Callaghan

  • Home page
  • Beginning
  • Previous
  • Next



  • Section 1.4 - Define the types of route that a Patroller can follow
    Route is a kind of value. The Routes are OneWay, TwoWay, TwoWayRepeated and Circular.
    [OneWay The Patroller goes from A to B then stops.
    TwoWay The Patroller goes from A to B then B to A and stops.
    TwoWayRepeated The Patroller goes from A to B then B to A repeatedly.
    Circular The Patroller goes from A to B to A repeatedly.]
    A Patroller has a Route. A Patroller is usually OneWay.