Skip to main content

ChartingEvents

Kindclass
Packageeditors.charting
Full nameeditors.charting.ChartingEvents
Sourcesource/editors/charting/ChartingEvents.hx
Metadata@:access(editors.ChartingState) @:access(backend.MusicBeatState)

Public methods​

changeEventSelected​

static function changeEventSelected(state:ChartingState, change:Int = 0)
ParameterTypeDefault
stateChartingState—
change (optional)Int0

View source

setAllLabelsOffset​

static function setAllLabelsOffset(button:FlxButton, x:Float, y:Float)
ParameterTypeDefault
buttonFlxButton—
xFloat—
yFloat—

View source

selectNote​

static function selectNote(state:ChartingState, note:Note, updateTheGrid:Bool = true):Void
ParameterTypeDefault
stateChartingState—
noteNote—
updateTheGrid (optional)Booltrue

View source

deleteNote​

static function deleteNote(state:ChartingState, note:Note, usingVortex:Bool = false):Void
ParameterTypeDefault
stateChartingState—
noteNote—
usingVortex (optional)Boolfalse

View source

doANoteThing​

static function doANoteThing(state:ChartingState, cs, d, style)
ParameterTypeDefault
stateChartingState—
csDynamic—
dDynamic—
styleDynamic—

View source

clearSong​

static function clearSong(state:ChartingState):Void
ParameterTypeDefault
stateChartingState—

View source

addNote​

static function addNote(state:ChartingState, strum:Null<Float> = null, data:Null<Int> = null, type:Null<Int> = null, gridUpdate:Bool = true):Void
ParameterTypeDefault
stateChartingState—
strum (optional)Null<Float>null
data (optional)Null<Int>null
type (optional)Null<Int>null
gridUpdate (optional)Booltrue

View source

changeNoteSustain​

static function changeNoteSustain(state:ChartingState, value:Float):Void
ParameterTypeDefault
stateChartingState—
valueFloat—

View source

redo​

static function redo(state:ChartingState)

will figure this out l8r

ParameterTypeDefault
stateChartingState—

View source