Mercurial > nagslang
view nagslang/area.py @ 15:980339c28b42
Add start of engine / event dispatcher.
author | Simon Cross <hodgestar@gmail.com> |
---|---|
date | Sun, 01 Sep 2013 14:19:55 +0200 |
parents | 1cd05cfec375 |
children |
line wrap: on
line source
"""A screen or area in which action happens.""" import pymunk class Area(object): def __init__(self): self.space = pymunk.Space() def render(self, surface): pass def tick(self, step): """Step the given amount of time.""" self.space.step(step)