diff gamelib/menu.py @ 84:c76f2fad2af5

Draw CursorWidget on top of StateWidget
author Stefano Rivera <stefano@rivera.za.net>
date Mon, 23 Aug 2010 23:58:11 +0200
parents 05346a412b55
children b5b6cbf556e6
line wrap: on
line diff
--- a/gamelib/menu.py	Mon Aug 23 23:47:29 2010 +0200
+++ b/gamelib/menu.py	Mon Aug 23 23:58:11 2010 +0200
@@ -6,11 +6,9 @@
 from albow.controls import Button, Label
 from albow.layout import Column
 
-from cursor import CursorSpriteScreen
-
-class MenuScreen(CursorSpriteScreen):
+class MenuScreen(Screen):
     def __init__(self, shell):
-        CursorSpriteScreen.__init__(self, shell)
+        Screen.__init__(self, shell)
         StartButton = Button('Start New Game', action = self.start)
         QuitButton = Button('Quit', action = shell.quit)
         Title = Label('Suspended Sentence')