Mercurial > parpg-core
view src/parpg/world.py @ 27:09b581087d68
Added base files for grease
author | KarstenBock@gmx.net |
---|---|
date | Tue, 12 Jul 2011 10:16:48 +0200 |
parents | |
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)