Constructor

new(callback:FlxKey ‑> Void, cancelCallback:() ‑> Void)

Methods

Inherited Variables

Defined by MusicBeatSubstate

read onlycontrols:Controls

Game Controls.

@:value(0)curBeat:Int = 0

Current beat

@:value(0)curBeatFloat:Float = 0

Current beat, as a Float (ex: 1.24, instead of 1)

@:value(0)curStep:Int = 0

Current step

@:value(0)curStepFloat:Float = 0

Current step, as a Float (ex: 4.94, instead of 4)

Inherited Methods

Defined by MusicBeatSubstate

@:value({ fpsSensitive : false })lerp(v1:Float, v2:Float, ratio:Float, fpsSensitive:Bool = false):Float

Shortcut to FlxMath.lerp or CoolUtil.lerp, depending on fpsSensitive

Parameters:

v1

Value 1

v2

Value 2

ratio

Ratio

fpsSensitive

Whenever the ratio should not be adjusted to run at the same speed independant of framerate.