Mercurial > pyntnclick
comparison gamelib/menu.py @ 50:414910c415a2
Fix title in menu
author | Neil Muller <neil@dip.sun.ac.za> |
---|---|
date | Mon, 23 Aug 2010 12:00:12 +0200 |
parents | e5c043aeed65 |
children | 05346a412b55 |
comparison
equal
deleted
inserted
replaced
49:8771d545a493 | 50:414910c415a2 |
---|---|
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 StartButton = Button('Start New Game', action = self.start) | 12 StartButton = Button('Start New Game', action = self.start) |
13 QuitButton = Button('Quit', action = shell.quit) | 13 QuitButton = Button('Quit', action = shell.quit) |
14 Title = Label('Caught! ... In SPAACE') | 14 Title = Label('Suspended Sentence') |
15 menu = Column([ | 15 menu = Column([ |
16 Title, | 16 Title, |
17 StartButton, | 17 StartButton, |
18 QuitButton, | 18 QuitButton, |
19 ], align='l', spacing=20) | 19 ], align='l', spacing=20) |