source: src/upDown.py @ 259

Last change on this file since 259 was 259, checked in by mmorton, 3 years ago
File size: 459 bytes
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 repository browser.