Changeset 258 for src/upDown.py


Ignore:
Timestamp:
03/24/2012 06:16:18 AM (3 years ago)
Author:
mmorton
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/upDown.py

    r257 r258  
    1212class UpDown(Window):
    1313    def __init__(self, pos, visible, isUp):
    14         super(UpDown, self).__init__(pos, visible)
     14        Window.__init__(self, pos, visible)
    1515        if isUp:
    16             icon = pygame.image.load(imageDir + "up.png")
     16            icon = pygame.image.load(mapDir + "left.png")
    1717        else:
    18             icon = pygame.image.load(imageDir + "down.png")
     18            icon = pygame.image.load(mapDir+ "right.png")
    1919
    2020        self.images.append(Image((self.pos, self.pos), 44, 44, icon))
Note: See TracChangeset for help on using the changeset viewer.