Skip to main content

PlayStateNotes

Kindclass
Packageplay.helpers
Full nameplay.helpers.PlayStateNotes
Sourcesource/play/helpers/PlayStateNotes.hx
Metadata@:access(play.PlayState) @:access(backend.MusicBeatState)

Public methods​

noteMiss​

static function noteMiss(state:PlayState, daNote:Note = null, daNoteAlt:PreloadedChartNote = null):Void
ParameterTypeDefault
statePlayState—
daNote (optional)Notenull
daNoteAlt (optional)PreloadedChartNotenull

View source

noteMissPress​

static function noteMissPress(state:PlayState, direction:Int = 1):Void //You pressed a key when there was no notes to press for this key
ParameterTypeDefault
statePlayState—
direction (optional)Int1

View source

spawnNotes​

static function spawnNotes(state:PlayState)
ParameterTypeDefault
statePlayState—

View source

updateNote​

static function updateNote(state:PlayState, daNote:Note):Void
ParameterTypeDefault
statePlayState—
daNoteNote—

View source

goodNoteHit​

static function goodNoteHit(state:PlayState, note:Note, noteAlt:PreloadedChartNote = null):Void
ParameterTypeDefault
statePlayState—
noteNote—
noteAlt (optional)PreloadedChartNotenull

View source

opponentNoteHit​

static function opponentNoteHit(state:PlayState, daNote:Note, noteAlt:PreloadedChartNote = null):Void
ParameterTypeDefault
statePlayState—
daNoteNote—
noteAlt (optional)PreloadedChartNotenull

View source