Skip to main content

NotesSubStateHelpers

Kindclass
Packageoptions.helpers
Full nameoptions.helpers.NotesSubStateHelpers
Sourcesource/options/helpers/NotesSubStateHelpers.hx
Metadata@:access(options.NotesSubState) @:access(objects.Note) @:access(backend.MusicBeatState)

Public methods​

centerHexTypeLine​

static function centerHexTypeLine(state:NotesSubState)
ParameterTypeDefault
stateNotesSubState—

View source

changeSelectionMode​

static function changeSelectionMode(state:NotesSubState, change:Int = 0)
ParameterTypeDefault
stateNotesSubState—
change (optional)Int0

View source

changeSelectionNote​

static function changeSelectionNote(state:NotesSubState, change:Int = 0)
ParameterTypeDefault
stateNotesSubState—
change (optional)Int0

View source

makeColorAlphabet​

static function makeColorAlphabet(state:NotesSubState, x:Float = 0, y:Float = 0):Alphabet

alphabets

ParameterTypeDefault
stateNotesSubState—
x (optional)Float0
y (optional)Float0

View source

spawnNotes​

static function spawnNotes(state:NotesSubState)

notes sprites functions

ParameterTypeDefault
stateNotesSubState—

View source

updateNotes​

static function updateNotes(state:NotesSubState, instant:Bool = false)
ParameterTypeDefault
stateNotesSubState—
instant (optional)Boolfalse

View source

updateColors​

static function updateColors(state:NotesSubState, specific:Null<FlxColor> = null)
ParameterTypeDefault
stateNotesSubState—
specific (optional)Null<FlxColor>null

View source

setShaderColor​

static function setShaderColor(state:NotesSubState, value:FlxColor)
ParameterTypeDefault
stateNotesSubState—
valueFlxColor—

View source

getShaderColor​

static function getShaderColor(state:NotesSubState):FlxColor return state.dataArray[state.curSelectedNote][state.curSelectedMode]
ParameterTypeDefault
stateNotesSubState—

View source

getShader​

static function getShader(state:NotesSubState):RGBPalette return Note.globalRgbShaders[state.curSelectedNote]
ParameterTypeDefault
stateNotesSubState—

View source