# Smopper (of `Cycle`)

class `Smopper`

  Defined in Smopper.sc.

  Smopper is a complex cycler similar to `StopWalk`, but allowing the use of separate starting and stopping views. This can be used to allow for more realistic movement when starting and stopping.

  Example usage:

      // Cycle the boy with view 805 for stopped, 814 for slowing and 815 for starting. Cycle speed is 12.
      (boy:setCycle(Smopper 805 814 815 12))

Subclasses: `FiddleStopWalk`.

## Properties

Inherited from `Cycle`:

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

Defined in Smopper:

Property | Description
--- | ---
vInMotion |
vStopped |
vSlow |
vStart |
stopState |
useSlow |
cSpeed |
oldSpeed |
newCel |
tempMover |

## Methods

`init`(theClient [theVStopped theVSlow theVStart theCSpeed theCaller])

  Initializes the Smopper.

  Parameters: | theClient (heapPtr) – The `Actor` to which this applies. theVStopped (number) – The view number for the stopped state. theVSlow (number) – The view number for the slowing down state. theVStart (number) – The view number for the starting state. theCSpeed (number) – The cycle speed used for starting, stopped and stopped. theCaller (heapPtr) – Optional object that gets cue(0)’d when stopped, and cue(1)’d when starting motion again.

`doit`()

`dispose`(param1)