File: demons.py - Py-GNU-Unix/oopygame GitHub Wiki

demons.py

The demons.py module, contains some demons that can be added to your code. To add them in a window:

dem = DemonClass(*args, **kwargs)
win.add_demon(dem)

When you will call the win.do_routine() method, this demon will be executed, but it should be a callable object. (So, if is it a class, it should have a call method)

⚠️ **GitHub.com Fallback** ⚠️