GameExecutor

Provides an object that controls execution of games.

Functions

Link copied to clipboard
fun cancel()

Cancel execution of all executing games.

fun cancel(game: Game)

Cancel execution of a game.

Link copied to clipboard
fun execute(template: GameTemplate, exitMode: ExitMode = ExitMode.RETURN_TO_TITLE_SCREEN, ioConfiguration: IOConfiguration)

Execute an instance of a Game instantiated by a specified template.

Link copied to clipboard
fun executeAysnc(template: GameTemplate, exitMode: ExitMode = ExitMode.RETURN_TO_TITLE_SCREEN, ioConfiguration: IOConfiguration)

Execute an instance of a Game asynchronously, instantiated by a specified template.