SustainSplash
| Kind | class |
| Package | play.objects |
| Full name | play.objects.SustainSplash |
| Source | source/play/objects/SustainSplash.hx |
| Extends | FlxSprite |
Public fields
| Name | Type | Static | Default | Notes |
|---|---|---|---|---|
rgbShader | objects.NoteSplash.PixelSplashShaderRef | no | — | — |
startCrochet | Float | yes | — | — |
frameRate | Int | yes | — | — |
strumNote | StrumNote | no | — | — |
defaultNoteHoldSplash | String | yes | 'noteSplashes/holdSplashes/holdSplash' | property (default, never) |
Public methods
new (constructor)
function new():Void
kill
override function kill():Void
Retires the splash back into PlayState.grpHoldSplashes and counts the return,
so the pool hit rate stays measurable. (#88)
setupSusSplash
function setupSusSplash(strum:StrumNote, daNote:Note, playbackRate:Float = 1):Void
| Parameter | Type | Default |
|---|---|---|
strum | StrumNote | — |
daNote | Note | — |
playbackRate (optional) | Float | 1 |
getSplashSkinPostfix
static function getSplashSkinPostfix()
Internals
Private / internal members
| Field | Type | Static |
|---|---|---|
timer | FlxTimer | no |
endTimerCallback | FlxTimer->Void | no |
endAnimCallback | Dynamic->Void | no |
pendingNote | Note | no |
| Method |
|---|
function onEndTimer(idk:FlxTimer):Void |
function onEndAnimFinished(idkEither:Dynamic):Void |
override function update(elapsed) |