Skip to main content

PlayStateCutscenes

Kindclass
Packageplay.helpers
Full nameplay.helpers.PlayStateCutscenes
Sourcesource/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)
ParameterTypeDefault
statePlayState—
nameString—
library (optional)Stringnull
callback (optional)Void->Void = null, forMidSong:Bool = false, canSkip:Bool = true, loop:Bool = false, playOnLoad:Bool = true—

View source

startAndEnd​

static function startAndEnd(state:PlayState)
ParameterTypeDefault
statePlayState—

View source

startDialogue​

static function startDialogue(state:PlayState, dialogueFile:DialogueFile, song:String = null):Void
ParameterTypeDefault
statePlayState—
dialogueFileDialogueFile—
song (optional)Stringnull

View source

startNextDialogue​

static function startNextDialogue(state:PlayState)
ParameterTypeDefault
statePlayState—

View source

skipDialogue​

static function skipDialogue(state:PlayState)
ParameterTypeDefault
statePlayState—

View source