Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/usmpgames/menustate.py
diff options
context:
space:
mode:
Diffstat (limited to 'usmpgames/menustate.py')
-rwxr-xr-xusmpgames/menustate.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/usmpgames/menustate.py b/usmpgames/menustate.py
index 325e4a4..fa20ad0 100755
--- a/usmpgames/menustate.py
+++ b/usmpgames/menustate.py
@@ -7,8 +7,8 @@ from infostate import *
class MenuState(InfoState):
- def __init__(self, background = None):
- InfoState.__init__(self, None, background)
+ def __init__(self, background = None, cookie = None):
+ InfoState.__init__(self, None, background, cookie)
self._menu_options = []
self._menu_states = []
self.pos = ('center', 'center')
@@ -41,5 +41,5 @@ class MenuState(InfoState):
def input(self, ms):
pass
- def entering_state(self, fromStack):
- ApplicationState.entering_state(self, fromStack)
+ def entering_state(self, fromStack, cookie):
+ ApplicationState.entering_state(self, fromStack, cookie)