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

@@ -283,7 +283,7 @@ class Level1(level.Level):
self.imgs[o] = pygame.image.load(os.path.join(
self.graphics_dir, 'tiles', '%s.png' % o))
l = ['block1']
l = ['block1', 'block1_lifted']
for o in l:
self.imgs[o] = pygame.image.load(os.path.join(
self.graphics_dir, 'blocks', '%s.png' % o))