root/src/upDown.py @ 259

Revision 259, 459 bytes (checked in by mmorton, 2 years ago)
Line 
1""""
2Created 23 March 2012
3
4@author: TechTreck
5"""
6
7import pygame
8from window import Window
9from globals import *
10from image import Image
11
12class UpDown(Window):
13    def __init__(self, pos, visible, isUp):
14        Window.__init__(self, pos, visible)
15        if isUp:
16            icon = pygame.image.load(arrowsDir + "up.png")
17        else:
18            icon = pygame.image.load(arrowsDir + "down.png")
19
20        self.images.append(Image(self.pos, 44, 44, icon))
Note: See TracBrowser for help on using the browser.