customize import behavior

This commit is contained in:
ohsqueezy 2023-02-04 15:19:36 -05:00
parent 7a16527179
commit 34451c3f4c
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
# __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 *