view 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
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)