This class represents an individual animation actuator.

It handles easing functions, animation updates, and completion callbacks.

See also:

Methods

complete():Void

Jumps to the final value and stops the animation.

ease(f:Float ‑> Float):Actuator

Sets the easing function for the animation.

Parameters:

f

The easing function to use.

onCompleted(f:() ‑> Void):Actuator

Sets a callback function to execute when the animation is complete.

Parameters:

f

The function to call when completed.

onTick(f:Float ‑> Void):Actuator

Sets a new tick callback function.

Parameters:

f

The function to call on each animation update.

stop():Void

Stops the animation and removes it from the active actuators list.