Mercurial > pyntnclick
comparison gamelib/scenes/cryo.py @ 518:3e91c82c2240
Removed superfluous SIZE attribute on Scene.
author | Jeremy Thurgood <firxen@gmail.com> |
---|---|
date | Tue, 07 Sep 2010 17:05:51 +0200 |
parents | af2a23b9787d |
children | 8f3c82c685a4 |
comparison
equal
deleted
inserted
replaced
517:26f9b4d10e3e | 518:3e91c82c2240 |
---|---|
474 FOLDER = "cryo" | 474 FOLDER = "cryo" |
475 BACKGROUND = "comp_info_detail.png" | 475 BACKGROUND = "comp_info_detail.png" |
476 BACKGROUND_FIXED = "comp_info_detail_fixed.png" | 476 BACKGROUND_FIXED = "comp_info_detail_fixed.png" |
477 NAME = "cryo_comp_detail" | 477 NAME = "cryo_comp_detail" |
478 | 478 |
479 SIZE = (640, 400) | |
480 | |
481 def __init__(self, state): | 479 def __init__(self, state): |
482 super(CryoCompDetail, self).__init__(state) | 480 super(CryoCompDetail, self).__init__(state) |
483 self._background_fixed = get_image(self.FOLDER, self.BACKGROUND_FIXED) | 481 self._background_fixed = get_image(self.FOLDER, self.BACKGROUND_FIXED) |
484 | 482 |
485 def draw_background(self, surface): | 483 def draw_background(self, surface): |
493 | 491 |
494 FOLDER = "cryo" | 492 FOLDER = "cryo" |
495 BACKGROUND = "cryo_unit_detail.png" | 493 BACKGROUND = "cryo_unit_detail.png" |
496 NAME = "cryo_detail" | 494 NAME = "cryo_detail" |
497 | 495 |
498 SIZE = (300, 300) | |
499 | |
500 def __init__(self, state): | 496 def __init__(self, state): |
501 super(CryoUnitWithCorpse, self).__init__(state) | 497 super(CryoUnitWithCorpse, self).__init__(state) |
502 self.add_thing(TitaniumLegThing()) | 498 self.add_thing(TitaniumLegThing()) |
503 self.add_thing(PlaqueThing()) | 499 self.add_thing(PlaqueThing()) |
504 | 500 |