pyunity.window.sdl2Window module

Class to create a window using PySDL2.

class pyunity.window.sdl2Window.Window(name, resize)[source]

Bases: pyunity.window.ABCWindow

A window provider that uses PySDL2.

quit()[source]
start(update_func)[source]
process_keys(events)[source]
process_mouse(events)[source]
get_key(keycode, keystate)[source]
get_mouse(mousecode, keystate)[source]
get_mouse_pos()[source]