Added elevator graphics to loader.py
This commit is contained in:
parent
a627c4f2bb
commit
21ccd6bfaa
|
@ -77,8 +77,6 @@ class Loader(object):
|
|||
int(screen_size[1]*factors[1])))
|
||||
|
||||
### Moat
|
||||
|
||||
|
||||
l = ['moat_corner_north',
|
||||
'moat_corner_south',
|
||||
'moat_corner_north_flip',
|
||||
|
@ -94,6 +92,13 @@ class Loader(object):
|
|||
self.imgs['moat_end_horizontal_flip'] = pygame.transform.flip(
|
||||
self.imgs['moat_end_horizontal'], 1, 0)
|
||||
|
||||
### Elevator
|
||||
for n, p in (('elevator', 'elevator'),
|
||||
('elevator_bottom', 'bottom_corners'),
|
||||
('elevator_top', 'top_corners')):
|
||||
self.imgs[n] = pygame.image.load(os.path.join(
|
||||
self.directory, 'elevator', p + '.png'))
|
||||
|
||||
# Load animations
|
||||
for anim, directory in (
|
||||
[('boulder_up', os.path.join('boulder', 'up')),
|
||||
|
|
Loading…
Reference in New Issue