Mercurial > parpg-source
annotate world.py @ 6:ce33d344e202
Removed leftover pyglet specific code
author | KarstenBock@gmx.net |
---|---|
date | Tue, 12 Jul 2011 12:29:42 +0200 |
parents | bc88f7d5ca8b |
children | 708a6f651c31 |
rev | line source |
---|---|
5 | 1 from grease.world import * |
2 from mode import FifeMode | |
3 | |
4 class World(FifeModeMode, BaseWorld): | |
5 | |
6 def pump(self, dt): | |
7 for component in self.components: | |
8 if hasattr(component, "step"): | |
9 component.step(dt) | |
10 for system in self.systems: | |
11 if hasattr(system, "step"): | |
12 system.step(dt) |