changeset 19:87f8a46b88af

Fix indentation
author Neil Muller <neil@dip.sun.ac.za>
date Sun, 22 Aug 2010 17:07:01 +0200
parents c9b124c2f5c6
children 177e3a7825e8
files gamelib/menu.py
diffstat 1 files changed, 13 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- 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'