Cycle (of Object)

class Cycle

Defined in Cycle.sc.

The base class for all cyclers. Cyclers are responsible for changing the cel of a Prop or Actor over time, giving the illusion of animation.

Example usage:

; Cycle the cels of myProp forward.
(myProp setCycle: Forward)

Subclasses: MouthSync, Smopper, MoveCycle, FlickerCycler, Forward, Blink, RangeOscillate, Oscillate, RandCycle, Reverse, GradualCycler, CycleTo.

class diagram

Properties

Inherited from Object:

Property Description
name  

Defined in Cycle:

Property Description
client The object to which this is attached.
caller The object that is cue()’d when the cycle is complete.
cycleDir cdFORWARD or cdBACKWARD.
cycleCnt  
completed  

Methods

init(theClient)
nextCel()
cycleDone()
motionCue()