view src/parpg/world.py @ 29:ad18c3f912c5

Made sure that the modules in the current directory are imported, and not those in the python path
author KarstenBock@gmx.net
date Tue, 12 Jul 2011 12:30:41 +0200
parents 09b581087d68
children 94cb5843dcbb
line wrap: on
line source

from grease.world import *
from mode import FifeMode

class World(FifeModeMode, BaseWorld):
    
    def pump(self, dt):
	for component in self.components:
	    if hasattr(component, "step"):
		component.step(dt)
	for system in self.systems:
	    if hasattr(system, "step"):
		system.step(dt)