ChartingEvents
| Kind | class |
| Package | editors.charting |
| Full name | editors.charting.ChartingEvents |
| Source | source/editors/charting/ChartingEvents.hx |
| Metadata | @:access(editors.ChartingState) @:access(backend.MusicBeatState) |
Public methods
changeEventSelected
static function changeEventSelected(state:ChartingState, change:Int = 0)
| Parameter | Type | Default |
|---|---|---|
state | ChartingState | — |
change (optional) | Int | 0 |
setAllLabelsOffset
static function setAllLabelsOffset(button:FlxButton, x:Float, y:Float)
| Parameter | Type | Default |
|---|---|---|
button | FlxButton | — |
x | Float | — |
y | Float | — |
selectNote
static function selectNote(state:ChartingState, note:Note, updateTheGrid:Bool = true):Void
| Parameter | Type | Default |
|---|---|---|
state | ChartingState | — |
note | Note | — |
updateTheGrid (optional) | Bool | true |
deleteNote
static function deleteNote(state:ChartingState, note:Note, usingVortex:Bool = false):Void
| Parameter | Type | Default |
|---|---|---|
state | ChartingState | — |
note | Note | — |
usingVortex (optional) | Bool | false |
doANoteThing
static function doANoteThing(state:ChartingState, cs, d, style)
| Parameter | Type | Default |
|---|---|---|
state | ChartingState | — |
cs | Dynamic | — |
d | Dynamic | — |
style | Dynamic | — |
clearSong
static function clearSong(state:ChartingState):Void
| Parameter | Type | Default |
|---|---|---|
state | ChartingState | — |
addNote
static function addNote(state:ChartingState, strum:Null<Float> = null, data:Null<Int> = null, type:Null<Int> = null, gridUpdate:Bool = true):Void
| Parameter | Type | Default |
|---|---|---|
state | ChartingState | — |
strum (optional) | Null<Float> | null |
data (optional) | Null<Int> | null |
type (optional) | Null<Int> | null |
gridUpdate (optional) | Bool | true |
changeNoteSustain
static function changeNoteSustain(state:ChartingState, value:Float):Void
| Parameter | Type | Default |
|---|---|---|
state | ChartingState | — |
value | Float | — |
redo
static function redo(state:ChartingState)
will figure this out l8r
| Parameter | Type | Default |
|---|---|---|
state | ChartingState | — |