# HG changeset patch # User Neil Muller # Date 1282489621 -7200 # Node ID 87f8a46b88afdf8e72a7b2a02abe73990ae8b6aa # Parent c9b124c2f5c63bed751edbc4517eee489d574662 Fix indentation diff -r c9b124c2f5c6 -r 87f8a46b88af gamelib/menu.py --- a/gamelib/menu.py Sun Aug 22 17:04:34 2010 +0200 +++ b/gamelib/menu.py Sun Aug 22 17:07:01 2010 +0200 @@ -7,20 +7,19 @@ from albow.layout import Column class MenuScreen(Screen): - def __init__(self, shell): - Screen.__init__(self, shell) - self.shell = shell - StartButton = Button('Start New Game', action = self.start) - QuitButton = Button('Quit', action = shell.quit) - Title = Label('Caught! ... In SPAACE') - menu = Column([ - Title, - StartButton, - QuitButton, - ], align='l', spacing=20) - self.add_centered(menu) + def __init__(self, shell): + Screen.__init__(self, shell) + StartButton = Button('Start New Game', action = self.start) + QuitButton = Button('Quit', action = shell.quit) + Title = Label('Caught! ... In SPAACE') + menu = Column([ + Title, + StartButton, + QuitButton, + ], align='l', spacing=20) + self.add_centered(menu) - def start(self): - print 'Starting the game' + def start(self): + print 'Starting the game'