comparison src/parpg/dialoguecontroller.py @ 30:94cb5843dcbb

Modifications to use the grease manager and modes
author KarstenBock@gmx.net
date Tue, 12 Jul 2011 12:31:53 +0200
parents 1fd2201f5c36
children 8b3890f17f94
comparison
equal deleted inserted replaced
29:ad18c3f912c5 30:94cb5843dcbb
49 self.dialogue.initiateDialogue() 49 self.dialogue.initiateDialogue()
50 self.model.pause(True) 50 self.model.pause(True)
51 self.view.hud.enabled = False 51 self.view.hud.enabled = False
52 52
53 53
54 def pump(self): 54 def pump(self, dt):
55 ControllerBase.pump(self, dt)
55 if self.dialogue and not self.dialogue.active: 56 if self.dialogue and not self.dialogue.active:
56 self.application.popController() 57 self.application.pop_mode()
57 self.model.pause(False) 58 self.model.pause(False)
58 self.view.hud.enabled = True 59 self.view.hud.enabled = True
59 60