class flixel.tweens.motion.CircularMotion extends Motion
Available on all platforms
Determines a circular motion.
Instance Fields
function setMotion(CenterX:Float, CenterY:Float, Radius:Float, Angle:Float, Clockwise:Bool, DurationOrSpeed:Float, ?UseDuration:Bool = true):CircularMotion
Starts moving along a circle. * *
CenterX | X position of the circle's center. * |
CenterY | Y position of the circle's center. * |
Radius | Radius of the circle. * |
Angle | Starting position on the circle. * |
Clockwise | If the motion is clockwise. * |
DurationOrSpeed | Duration of the movement. * |
UseDuration | Duration of the movement. |