class flixel.tweens.motion.QuadPath extends Motion

Available on all platforms

A series of points which will determine a path from the * beginning point to the end poing using quadratic curves.

Instance Fields

function addPoint(?x:Float = 0, ?y:Float = 0):QuadPath

Adds the point to the path.

function destroy():Void

function getPoint(?index:Int = 0):FlxPoint

Gets the point on the path.

function setMotion(DurationOrSpeed:Float, ?UseDuration:Bool = true):QuadPath

Starts moving along the path. * *

DurationOrSpeed

Duration or speed of the movement. *

UseDuration

Whether to use the previous param as duration or speed.