PlayStateNotes
| Kind | class |
| Package | play.helpers |
| Full name | play.helpers.PlayStateNotes |
| Source | source/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
| Parameter | Type | Default |
|---|---|---|
state | PlayState | — |
daNote (optional) | Note | null |
daNoteAlt (optional) | PreloadedChartNote | null |
noteMissPress
static function noteMissPress(state:PlayState, direction:Int = 1):Void //You pressed a key when there was no notes to press for this key
| Parameter | Type | Default |
|---|---|---|
state | PlayState | — |
direction (optional) | Int | 1 |
spawnNotes
static function spawnNotes(state:PlayState)
| Parameter | Type | Default |
|---|---|---|
state | PlayState | — |
updateNote
static function updateNote(state:PlayState, daNote:Note):Void
| Parameter | Type | Default |
|---|---|---|
state | PlayState | — |
daNote | Note | — |
goodNoteHit
static function goodNoteHit(state:PlayState, note:Note, noteAlt:PreloadedChartNote = null):Void
| Parameter | Type | Default |
|---|---|---|
state | PlayState | — |
note | Note | — |
noteAlt (optional) | PreloadedChartNote | null |
opponentNoteHit
static function opponentNoteHit(state:PlayState, daNote:Note, noteAlt:PreloadedChartNote = null):Void
| Parameter | Type | Default |
|---|---|---|
state | PlayState | — |
daNote | Note | — |
noteAlt (optional) | PreloadedChartNote | null |