Module tetra::window

source ·
Expand description

Functions and types relating to the game window.

Functions

Disables fullscreen.
Enables fullscreen.
Gets the height of the window.
Gets the size of the window.
Gets the current title of the window.
Gets the width of the window.
Hides the mouse cursor.
Returns whether or not the window is currently in fullscreen mode.
Returns whether or not the mouse cursor is currently visible.
Quits the game, if it is currently running.
Sets the height of the window.
Sets the size of the window.
Sets the title of the window.
Sets the width of the window.
Makes the mouse cursor visible.
Enables fullscreen if it is currently disabled, or vice-versa.