File: window.py - Py-GNU-Unix/oopygame GitHub Wiki
window.py
the window.py module, is a module that contains classes like BaseWindow or Window, that are used to open a pygame window and put in it some objects from objects.py. The class Window is the only one that works with demons. Here is a basic tutorial on how-to-use the window class.
import oopygame as oop # --> import the module
my_win = oop.Window(*args, **kwargs) # --> create the class
while True: # --> startup ur loop
done_ur_things()
my_win.do_routine() # --> do the routine (Es: update the display, update the objects position...)