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

Execute a game. Returns a GameExecutionResult.

Link copied to clipboard
fun executeAysnc(game: Game, listener: (result: GameExecutionResult) -> Unit?)

Execute a game asynchronously. Optionally a listener can be provided to listen for the result of the execution.