pgfw/pgfw/__init__.py

13 lines
387 B
Python

# __init__.py
#
# Import all classes from module files, making them accessible through `pgfw.CLASSNAME`
# Game imports most (all?) of PGFW, so those class become accessible as well (?)
from .Game import *
# Not sure why but pgfw.GameChild causes a module error without importing Animation directly
from .Animation import *
# Import all classes defined in Sprite
from .Sprite import *