PlayStateCutscenes
| Kind | class |
| Package | play.helpers |
| Full name | play.helpers.PlayStateCutscenes |
| Source | source/play/helpers/PlayStateCutscenes.hx |
| Metadata | @:access(play.PlayState) @:access(backend.MusicBeatState) |
Public methods
startVideo
static function startVideo(state:PlayState, name:String, library:String = null, ?callback:Void->Void = null, forMidSong:Bool = false, canSkip:Bool = true, loop:Bool = false, playOnLoad:Bool = true)
| Parameter | Type | Default |
|---|---|---|
state | PlayState | — |
name | String | — |
library (optional) | String | null |
callback (optional) | Void->Void = null, forMidSong:Bool = false, canSkip:Bool = true, loop:Bool = false, playOnLoad:Bool = true | — |
startAndEnd
static function startAndEnd(state:PlayState)
| Parameter | Type | Default |
|---|---|---|
state | PlayState | — |
startDialogue
static function startDialogue(state:PlayState, dialogueFile:DialogueFile, song:String = null):Void
| Parameter | Type | Default |
|---|---|---|
state | PlayState | — |
dialogueFile | DialogueFile | — |
song (optional) | String | null |
startNextDialogue
static function startNextDialogue(state:PlayState)
| Parameter | Type | Default |
|---|---|---|
state | PlayState | — |
skipDialogue
static function skipDialogue(state:PlayState)
| Parameter | Type | Default |
|---|---|---|
state | PlayState | — |