comparison gamelib/menu.py @ 34:e5c043aeed65

Inventory and items. And stuff.
author Jeremy Thurgood <firxen@gmail.com>
date Sun, 22 Aug 2010 19:59:42 +0200
parents 9d5de13e2ac3
children 414910c415a2
comparison
equal deleted inserted replaced
33:f8e02d02c782 34:e5c043aeed65
7 from albow.layout import Column 7 from albow.layout import Column
8 8
9 class MenuScreen(Screen): 9 class MenuScreen(Screen):
10 def __init__(self, shell): 10 def __init__(self, shell):
11 Screen.__init__(self, shell) 11 Screen.__init__(self, shell)
12 self.shell = shell
13 StartButton = Button('Start New Game', action = self.start) 12 StartButton = Button('Start New Game', action = self.start)
14 QuitButton = Button('Quit', action = shell.quit) 13 QuitButton = Button('Quit', action = shell.quit)
15 Title = Label('Caught! ... In SPAACE') 14 Title = Label('Caught! ... In SPAACE')
16 menu = Column([ 15 menu = Column([
17 Title, 16 Title,