Mercurial > parpg-source
diff world.py @ 51:d3a9caba067b
Modifications to make talking with npcs possible again. Special actions won't work yet though.
author | KarstenBock@gmx.net |
---|---|
date | Thu, 08 Sep 2011 15:18:39 +0200 |
parents | 4f9747116061 |
children | e2004c9549d7 |
line wrap: on
line diff
--- a/world.py Thu Sep 08 15:17:28 2011 +0200 +++ b/world.py Thu Sep 08 15:18:39 2011 +0200 @@ -1,4 +1,5 @@ from bGrease.world import * +from bGrease.component import Component from parpg.mode import FifeMode from parpg import components @@ -19,6 +20,9 @@ self.components.fifeagent = components.FifeAgent() self.components.lockable = components.Lockable() self.components.usable = components.Usable() + + #WORKAROUND: To get rid of exception in gamescenecontroller + self.components.change_map = Component() def pump(self, dt): for component in self.components: