comparison dialoguecontroller.py @ 8:708a6f651c31

Modifications to use the grease manager and modes
author KarstenBock@gmx.net
date Tue, 12 Jul 2011 12:31:53 +0200
parents 7a89ea5404b1
children 7b31de1dc964
comparison
equal deleted inserted replaced
7:710f299ed275 8:708a6f651c31
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