Created
January 13, 2014 15:55
-
-
Save ZachMassia/8402667 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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