comparison world.py @ 189:4381be70e1bb tip

Fixed incompatibility with latest changes to bgrease.
author Beliar <KarstenBock@gmx.net>
date Sun, 08 Apr 2012 20:30:43 +0200
parents 2a12e2843984
children
comparison
equal deleted inserted replaced
188:2a12e2843984 189:4381be70e1bb
7 from parpg.systems import ScriptingSystem 7 from parpg.systems import ScriptingSystem
8 from parpg.entities.action import ACTIONS 8 from parpg.entities.action import ACTIONS
9 9
10 class PARPGWorld(World): 10 class PARPGWorld(World):
11 11
12 def __init__(self): 12 def __init__(self, engine):
13 World.__init__(self) 13 '''
14 Constructor
15 @param engine: Instance of the active fife engine
16 @type engine: fife.Engine
17 '''
18 World.__init__(self, engine)
19
14 20
15 def configure(self): 21 def configure(self):
16 """Configure the game world's components, systems and renderers""" 22 """Configure the game world's components, systems and renderers"""
17 for name, component in components.components.iteritems(): 23 for name, component in components.components.iteritems():
18 setattr(self.components, name, component) 24 setattr(self.components, name, component)