StopWalk (of Forward
)¶
-
class
StopWalk
¶ Defined in StopWalk.sc.
StopWalk is a cycler that switches to a different loop or a different view when the
Actor
stops moving. If no separate view is specified, the “stopped” state uses the last loop of the current Actor view.Example usage:
(john setCycle: StopWalk -1)
Properties¶
Inherited from Forward
:
Property | Description |
---|---|
client | |
caller | |
cycleDir | |
cycleCnt | |
completed | |
name |
Defined in StopWalk:
Property | Description |
---|---|
vWalking | The walking view |
vStopped | The stopped view |
Methods¶
-
init
(theClient theVStopped) Parameters: - theClient (heapPtr) – The Actor to which this applies.
- theVStopped (number) – The number of the stopped view, or -1 if the last loop of the current view is to be used.
-
doit
()
-
dispose
()