Mercurial > pyntnclick
diff gamelib/main.py @ 24:9d5de13e2ac3
Add a game screen. So far, the game content looks a *lot* like the main menu.
author | Jeremy Thurgood <firxen@gmail.com> |
---|---|
date | Sun, 22 Aug 2010 18:09:25 +0200 |
parents | 177e3a7825e8 |
children | f9e697e0c6ba |
line wrap: on
line diff
--- a/gamelib/main.py Sun Aug 22 18:07:48 2010 +0200 +++ b/gamelib/main.py Sun Aug 22 18:09:25 2010 +0200 @@ -11,12 +11,14 @@ from albow.dialogs import alert from albow.shell import Shell from menu import MenuScreen +from gamescreen import GameScreen from constants import SCREEN class MainShell(Shell): def __init__(self, display): Shell.__init__(self, display) self.menu_screen = MenuScreen(self) + self.game_screen = GameScreen(self) self.show_screen(self.menu_screen) def main():