source: nagslang/area.py@ 11:1cd05cfec375

Last change on this file since 11:1cd05cfec375 was 11:1cd05cfec375, checked in by Simon Cross <hodgestar@…>, 8 years ago

Add start of screen / level / area object.

File size: 293 bytes
Line 
1"""A screen or area in which action happens."""
2
3import pymunk
4
5
6class Area(object):
7
8 def __init__(self):
9 self.space = pymunk.Space()
10
11 def render(self, surface):
12 pass
13
14 def tick(self, step):
15 """Step the given amount of time."""
16 self.space.step(step)
Note: See TracBrowser for help on using the repository browser.