The Cycle class is the base class for the
animation cycler classes.
Properties
- client
- caller
- cycleDir
- cycleCnt
- completed
Methods
-
void init([heapPtr
newClient]) |
Sets up the cycler class. If specified,
it sets the client property to newClient. It then sets cycleCnt
to zero, and the completed flag to FALSE.
|
-
void
nextCel() |
Sets the client to it's next cel
if the cycleCnt property is equal to the cycleSpeed property.
This being the case, if, for example, cycleSpeed is set to 5,
then the cel will only be changed every 5 calls.
|
-
void cycleDone() |
In the Cycle class, this is just
a place holder method.
|
-
void motionCue() |
Cues motion for the caller.
Sets the client's cycler property
to NULL. If the Cycler is completed, and the caller property
is set to an object, the cue() method of caller is called. The
Cycle class is then disposed.
|
|