diff charactercreationcontroller.py @ 17:7b31de1dc964

FifeManager no longer subclasses ApplicationBase PARPGApplication stores an instance of tbe manager instead
author KarstenBock@gmx.net
date Wed, 03 Aug 2011 22:57:52 +0200
parents 708a6f651c31
children c76f03c290f6
line wrap: on
line diff
--- a/charactercreationcontroller.py	Mon Aug 01 08:44:31 2011 +0200
+++ b/charactercreationcontroller.py	Wed Aug 03 22:57:52 2011 +0200
@@ -144,7 +144,7 @@
         controller = GameSceneController(self.engine, view, self.model,
                                          self.application)
         self.application.view = view
-        self.application.swap_modes(controller)
+        self.application.manager.swap_modes(controller)
         start_map = self.settings.parpg.Map
         self.model.changeMap(start_map)
     
@@ -159,7 +159,7 @@
         controller = MainMenuController(self.engine, view, self.model,
                                         self.application)
         self.application.view = view
-        self.application.activate_mode(controller)
+        self.application.manager.activate_mode(controller)
     
     def on_deactivate(self):
         """Called when the controller is removed from the list.