Redid block loading mechanism. Added the lifted image to the block.

This commit is contained in:
Sakse Dalum
2012-08-10 12:50:32 +02:00
parent 1f552640e5
commit 502039e3f8
3 changed files with 39 additions and 12 deletions

View File

@@ -39,6 +39,10 @@ class Level(object):
self.load()
self.reverse_imgs = (
dict([(val, key) for (key, val)
in self.imgs.iteritems() if not isinstance(val, list)]))
self.camera_x = 0
self.camera_y = 0