Skip to content

Instantly share code, notes, and snippets.

@ZachMassia
Created January 13, 2014 15:55
Show Gist options
  • Save ZachMassia/8402667 to your computer and use it in GitHub Desktop.
Save ZachMassia/8402667 to your computer and use it in GitHub Desktop.
lab2/
basic_game/
app.py (App)
event.py (EventManager)
part1.py (Game)
for app.py to see the EventManager class, the from .event import EventManager was needed.
from basic_game.app import App
class Game:
def update():
pass
def draw():
pass
if __name__ == '__main__':
app = App({cfg_dict}, Game())
app.run()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment