Mercurial > nagslang
comparison tools/area_editor.py @ 277:56e42c00da25
Protagonist and enemies should see the world
author | Neil Muller <drnlmuller@gmail.com> |
---|---|
date | Thu, 05 Sep 2013 13:15:31 +0200 |
parents | 2abb61878bb1 |
children | 7bb6296024c4 |
comparison
equal
deleted
inserted
replaced
276:3153196517fc | 277:56e42c00da25 |
---|---|
50 | 50 |
51 | 51 |
52 class EditorLevel(Level): | 52 class EditorLevel(Level): |
53 | 53 |
54 def __init__(self, name, x=800, y=600): | 54 def __init__(self, name, x=800, y=600): |
55 super(EditorLevel, self).__init__(name) | 55 super(EditorLevel, self).__init__(name, None) |
56 self.x = x | 56 self.x = x |
57 self.y = y | 57 self.y = y |
58 # Lookup initiliasition info from the objects | 58 # Lookup initiliasition info from the objects |
59 self.lookup = {} | 59 self.lookup = {} |
60 | 60 |