comparison skaapsteker/cutscene.py @ 277:62b98bea56bf

More level and scene change fixes.
author Jeremy Thurgood <firxen@gmail.com>
date Fri, 08 Apr 2011 19:27:51 +0200
parents de60329cfc9f
children a43f571e8f5b
comparison
equal deleted inserted replaced
276:820bb9da2ef2 277:62b98bea56bf
28 self.widgets.append(button_set) 28 self.widgets.append(button_set)
29 29
30 def done(self, selected=None, data=None): 30 def done(self, selected=None, data=None):
31 # Avoid circular import... 31 # Avoid circular import...
32 from .menuscene import MenuScene 32 from .menuscene import MenuScene
33 ChangeScene.post(MenuScene(self.game_state)) 33 ChangeScene.post((MenuScene,))
34 34
35 def draw(self, surface, engine): 35 def draw(self, surface, engine):
36 viewport = surface.get_clip() 36 viewport = surface.get_clip()
37 37
38 # Scoll background back and forth: 38 # Scoll background back and forth: