[−][src]Module tetra::window
Functions and types relating to the game window.
Functions
get_height | Gets the height of the window. |
get_size | Gets the size of the window. |
get_title | Gets the current title of the window. |
get_width | Gets the width of the window. |
is_fullscreen | Returns whether or not the window is currently in fullscreen mode. |
is_mouse_visible | Returns whether or not the mouse cursor is currently visible. |
is_vsync_enabled | Returns whethere or not vsync is enabled. |
quit | Quits the game, if it is currently running. |
set_fullscreen | Sets whether the window should be in fullscreen mode. |
set_height | Sets the height of the window. |
set_mouse_visible | Sets whether or not the mouse cursor should be visible. |
set_size | Sets the size of the window. |
set_title | Sets the title of the window. |
set_vsync | Sets whether the window should be vsynced. |
set_width | Sets the width of the window. |