EndLoop (of CycleTo)

class EndLoop

Defined in Cycle.sc.

End cycles from the first cel to the last cel in a loop and stops.

Example usage:

; Tell the door to cycle to its last cel and notify us when done.
(aDoor setCycle: EndLoop self)
class diagram

Properties

Inherited from CycleTo:

Property Description
name  
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  
endCel  

Methods

init(theClient [theCaller])
Parameters:
  • theClient (heapPtr) – The Prop to which this is attached.
  • theCaller (heapPtr) – Optional object on which we call cue() when the cycle is finished.