Disable continue for now
authorNeil <neil@dip.sun.ac.za>
Sat, 10 Sep 2016 20:31:11 +0000 (22:31 +0200)
committerNeil <neil@dip.sun.ac.za>
Sat, 10 Sep 2016 20:36:33 +0000 (22:36 +0200)
tabakrolletjie/scenes/menu.py

index 7f671026b193bae591ec75a3cddc59d9ba36dde4..440d9948efd515f542cc488de74fbe01175d1ab8 100644 (file)
@@ -17,9 +17,12 @@ class MenuScene(BaseScene):
         font_title = loader.load_font(FONTS['bold'], size=32)
         self._title = font_title.render('A Game with a title', True,
                                         (255, 255, 255))
+        self._cont_but = TextButton("Continue / Retry", (255, 255, 255),
+                                    name='continue')
+        self._cont_but.disable()
         self._menu = [
             TextButton("New Game", (255, 255, 255), name='new game'),
-            TextButton("Continue / Retry", (255, 255, 255), name='continue'),
+            self._cont_but,
             TextButton("Help", (255, 255, 255), name='help'),
             SpacerButton((50, 30)),
             TextButton("Quit", (255, 255, 255), name='quit'),