Static variables

@:value(100)staticbpm:Float = 100

Current BPM

@:value([])staticbpmChangeMap:Array<BPMChangeEvent> = []

Array of all BPM changes that have been mapped.

@:value(((60 / bpm) * 1000))staticcrochet:Float = ((60 / bpm) * 1000)

Current Crochet (time per beat), in milliseconds.

@:value(0)staticcurBeat:Int = 0

Current beat

@:value(0)staticcurBeatFloat:Float = 0

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

@:value(0)staticcurStep:Int = 0

Current step

@:value(0)staticcurStepFloat:Float = 0

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

@:value(new FlxTypedSignal())staticonBPMChange:FlxTypedSignal<Float ‑> Void> = new FlxTypedSignal()

@:value(new FlxTypedSignal())staticonBeatHit:FlxTypedSignal<Int ‑> Void> = new FlxTypedSignal()

FlxSignals

@:value(new FlxTypedSignal())staticonStepHit:FlxTypedSignal<Int ‑> Void> = new FlxTypedSignal()

staticsongPosition:Float

Current position of the song, in milliseconds.

@:value(crochet / 4)staticstepCrochet:Float = crochet / 4

Current StepCrochet (time per step), in milliseconds.

Static methods

staticchangeBPM(newBpm:Float):Void

staticinit():Void

staticmapBPMChanges(song:SwagSong):Void

Maps BPM changes from a song.

Parameters:

song

Song to map BPM changes from.

staticreset():Void

staticsetupSong(SONG:SwagSong):Void