# MoveCycle (of `Cycle`)

class `MoveCycle`

  Defined in MoveCycle.sc.

  A cycler that progresses through an explicit set of cels. See the init() method for more information about parameters.

  Example usage:

      ; Defined at the top of the script:
      (local [celList 5] = [3 6 2 1 $8000]) // $8000 indicates the end of the cel list.

      ; Then in code:
      (aStar setCycle: MoveCycle celList) // cycle through 3, 6, 2, 1 then stop.

## Properties

Inherited from `Cycle`:

Property | Description
--- | ---
name |
client |
caller |
cycleDir |
cycleCnt |
completed |

Defined in MoveCycle:

Property | Description
--- | ---
value |
points |
size |

## Methods

`init`(theClient thePoints [theCaller cycleDir])

  Parameters: | theClient (heapPtr) – The object to which the cycler is attached. thePoints (heapPtr) – An array of cels. theCaller (heapPtr) – An optional object that will be cued when we’re done. cycleDir (number) – 1 to go forward, or -1 to go backward.

`doit`()

`nextCel`()

`cycleDone`()