Loaded moat in level1.

This commit is contained in:
Sakse Dalum 2012-08-09 12:43:44 +02:00
parent 6c90ec0f6b
commit dfddd4b835
1 changed files with 9 additions and 0 deletions

View File

@ -192,6 +192,15 @@ class Level1(level.Level):
self.imgs[block] = pygame.image.load(os.path.join(
self.graphics_dir, 'blocks', '%s.png' % block))
moat_list = ['moat_corner_north',
'moat_corner_south',
'moat_end_horizontal',
'moat_horizontal',
'moat_vertical']
for moat in moat_list:
self.imgs[moat] = pygame.image.load(os.path.join(
self.graphics_dir, 'moat', '%s.png' % block))
# Load animations
for anim, directory in (
[('boulder_up', os.path.join('boulder', 'up')),