NotesSubStateHelpers
| Kind | class |
| Package | options.helpers |
| Full name | options.helpers.NotesSubStateHelpers |
| Source | source/options/helpers/NotesSubStateHelpers.hx |
| Metadata | @:access(options.NotesSubState) @:access(objects.Note) @:access(backend.MusicBeatState) |
Public methods
centerHexTypeLine
static function centerHexTypeLine(state:NotesSubState)
| Parameter | Type | Default |
|---|---|---|
state | NotesSubState | — |
changeSelectionMode
static function changeSelectionMode(state:NotesSubState, change:Int = 0)
| Parameter | Type | Default |
|---|---|---|
state | NotesSubState | — |
change (optional) | Int | 0 |
changeSelectionNote
static function changeSelectionNote(state:NotesSubState, change:Int = 0)
| Parameter | Type | Default |
|---|---|---|
state | NotesSubState | — |
change (optional) | Int | 0 |
makeColorAlphabet
static function makeColorAlphabet(state:NotesSubState, x:Float = 0, y:Float = 0):Alphabet
alphabets
| Parameter | Type | Default |
|---|---|---|
state | NotesSubState | — |
x (optional) | Float | 0 |
y (optional) | Float | 0 |
spawnNotes
static function spawnNotes(state:NotesSubState)
notes sprites functions
| Parameter | Type | Default |
|---|---|---|
state | NotesSubState | — |
updateNotes
static function updateNotes(state:NotesSubState, instant:Bool = false)
| Parameter | Type | Default |
|---|---|---|
state | NotesSubState | — |
instant (optional) | Bool | false |
updateColors
static function updateColors(state:NotesSubState, specific:Null<FlxColor> = null)
| Parameter | Type | Default |
|---|---|---|
state | NotesSubState | — |
specific (optional) | Null<FlxColor> | null |
setShaderColor
static function setShaderColor(state:NotesSubState, value:FlxColor)
| Parameter | Type | Default |
|---|---|---|
state | NotesSubState | — |
value | FlxColor | — |
getShaderColor
static function getShaderColor(state:NotesSubState):FlxColor return state.dataArray[state.curSelectedNote][state.curSelectedMode]
| Parameter | Type | Default |
|---|---|---|
state | NotesSubState | — |
getShader
static function getShader(state:NotesSubState):RGBPalette return Note.globalRgbShaders[state.curSelectedNote]
| Parameter | Type | Default |
|---|---|---|
state | NotesSubState | — |