A class the controls the playback of motions. To play back an motion it is passed to the MotionController's run method. The MotionController itself is typically a property of a Node and powered by the SpriteBox.
Invocation invocation ) → dynamic
Invoked when a non-existent method or property is accessed. [...]
Motion motion, [Object tag] ) → void
motion, can optionally be passed a
tagcan be used to reference the motion or a set of motions with the same tag. [...]
double dt ) → void
- Steps the motion forward by the specified time, typically there is no need to directly call this method.
Motion motion ) → void
- Stops an Motion and removes it from the controller. [...]
) → void
- Stops all motions currently being run by the controller and removes them. [...]
Object tag ) → void
- Stops all motions with the specified tag and removes them from the controller. [...]
) → String
Returns a string representation of this object.