diff gamelib/menu.py @ 66:05346a412b55

A sprite cursor attempt
author Stefano Rivera <stefano@rivera.za.net>
date Mon, 23 Aug 2010 19:50:45 +0200
parents 414910c415a2
children c76f2fad2af5
line wrap: on
line diff
--- a/gamelib/menu.py	Mon Aug 23 19:45:07 2010 +0200
+++ b/gamelib/menu.py	Mon Aug 23 19:50:45 2010 +0200
@@ -6,9 +6,11 @@
 from albow.controls import Button, Label
 from albow.layout import Column
 
-class MenuScreen(Screen):
+from cursor import CursorSpriteScreen
+
+class MenuScreen(CursorSpriteScreen):
     def __init__(self, shell):
-        Screen.__init__(self, shell)
+        CursorSpriteScreen.__init__(self, shell)
         StartButton = Button('Start New Game', action = self.start)
         QuitButton = Button('Quit', action = shell.quit)
         Title = Label('Suspended Sentence')