Mercurial > parpg-core
diff src/parpg/mainmenucontroller.py @ 39:8b3890f17f94
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 | 94cb5843dcbb |
children |
line wrap: on
line diff
--- a/src/parpg/mainmenucontroller.py Mon Aug 01 08:44:31 2011 +0200 +++ b/src/parpg/mainmenucontroller.py Wed Aug 03 22:57:52 2011 +0200 @@ -55,7 +55,7 @@ controller = CharacterCreationController(self.engine, view, self.model, self.application) self.application.view = view - self.application.swap_modes(controller) + self.application.manager.swap_modes(controller) # def newGame(self): # """Starts a new game""" @@ -66,7 +66,7 @@ # self.model, # self.application) # self.application.view = view -# self.application.swap_modes(controller) +# self.application.manager.swap_modes(controller) # start_map = self.model.settings.get("PARPG", "Map") # self.model.changeMap(start_map) @@ -81,7 +81,7 @@ self.model, self.application) self.application.view = view - self.application.swap_modes(controller) + self.application.manager.swap_modes(controller) controller.loadGame(*args, **kwargs) def on_deactivate(self):