comparison gamelib/gamegui.py @ 242:0bc8592ee28c

added development background
author Rizmari Versfeld <rizziepit@gmail.com>
date Sun, 13 May 2012 00:35:49 +0200
parents af86a207d8d2
children 05afa7ae5df3 25ea20b9803c
comparison
equal deleted inserted replaced
241:f5d9a063013b 242:0bc8592ee28c
554 class DevelopmentWindow(GameStateWindow): 554 class DevelopmentWindow(GameStateWindow):
555 """Window for handling schematics research""" 555 """Window for handling schematics research"""
556 556
557 def __init__(self, screen, lab): 557 def __init__(self, screen, lab):
558 super(DevelopmentWindow, self).__init__(screen, lab.game) 558 super(DevelopmentWindow, self).__init__(screen, lab.game)
559 self.background_image = image.load(
560 filepath('images/engineering_background.jpg'))
559 self.lab = lab 561 self.lab = lab
560 562
561 labbut = SwitchWinButton((150, 0), 'SCIENCE!!', lab) 563 labbut = SwitchWinButton((150, 0), 'SCIENCE!!', lab)
562 self.add_child(labbut) 564 self.add_child(labbut)
563 self.activity = None 565 self.activity = None