diff options
Diffstat (limited to 'usmpgames/infostate.py')
-rwxr-xr-x | usmpgames/infostate.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usmpgames/infostate.py b/usmpgames/infostate.py index 9bf46ee..23560b6 100755 --- a/usmpgames/infostate.py +++ b/usmpgames/infostate.py @@ -13,8 +13,8 @@ import pygame.font class InfoState(ApplicationState): - def __init__(self, next_state, background = None): - ApplicationState.__init__(self, next_state, background) + def __init__(self, next_state, background = None, next_cookie = None): + ApplicationState.__init__(self, next_state, background, next_cookie) self._images = [] self._ktexts = [] @@ -67,7 +67,7 @@ class InfoState(ApplicationState): for info in self._ktexts: info.draw(self.screen()) - def entering_state(self, fromStack): - ApplicationState.entering_state(self, fromStack) + def entering_state(self, fromStack, cookie): + ApplicationState.entering_state(self, fromStack, cookie) pygame.time.wait(500) pygame.event.clear() |