Mercurial > parpg-source
comparison charactercreationcontroller.py @ 167:b3b82c2aebee
Using fife settings module again instead of our own.
author | Beliar <KarstenBock@gmx.net> |
---|---|
date | Mon, 20 Feb 2012 16:50:10 +0100 |
parents | f017f8cac2c2 |
children | 2a12e2843984 |
comparison
equal
deleted
inserted
replaced
166:a6bbb732b27b | 167:b3b82c2aebee |
---|---|
118 view = GameSceneView(self.engine, self.model) | 118 view = GameSceneView(self.engine, self.model) |
119 controller = GameSceneController(self.engine, view, self.model, | 119 controller = GameSceneController(self.engine, view, self.model, |
120 self.application) | 120 self.application) |
121 self.application.view = view | 121 self.application.view = view |
122 self.application.manager.swap_modes(controller) | 122 self.application.manager.swap_modes(controller) |
123 start_map = self.settings.parpg.Map | 123 start_map = self.settings.get("parpg", "Map") |
124 self.model.changeMap(start_map) | 124 self.model.changeMap(start_map) |
125 | 125 |
126 def cancelNewGame(self): | 126 def cancelNewGame(self): |
127 """Exit the character creation view and return the to main menu. | 127 """Exit the character creation view and return the to main menu. |
128 @return: None""" | 128 @return: None""" |