customize import behavior
This commit is contained in:
parent
7a16527179
commit
34451c3f4c
|
@ -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 *
|
Loading…
Reference in New Issue