Creates a DuckEngine Cutscene
The Cutscene Class. Create a cutscene
1.0.0-beta
Creates an instance of a Cutscene.
Configuration
Cutscene instructions
Cutscene
Game instance
The index of the current cutscene step
The state of the Cutscene running
Starts the next step
EVENTS.CUTSCENE.NEXT
Removes an event listener from Cutscene
Listener type
Adds an event listener to Cutscene
Callback function
Sleeps/Waits for a duration
Duration in millisecond
Starts the cutscene
EVENTS.CUTSCENE.START
Stops the cutscene
EVENTS.CUTSCENE.END
Updates the cutscene, must be in a loop or interval and come before Cutscene.next()
Generated using TypeDoc
Creates a DuckEngine Cutscene
The Cutscene Class. Create a cutscene
1.0.0-beta