Function tetra::window::quit

source ·
pub fn quit(ctx: &mut Context)
Expand description

Quits the game, if it is currently running.

Note that currently, quitting the game does not take effect until the end of the current cycle of the game loop. This will probably change later.