Restart

The signal that ends a step and the world it ran in: the world is discarded and a new one is built in its place.

Thrown by restart and caught by whatever drives the step — never by game code: a catch of Throwable inside the game's step function would swallow it, and the world would live on. It carries nothing; the replacement is built the way the first world was.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard
expect open val message: String?