Mercurial > pyntnclick
changeset 518:3e91c82c2240
Removed superfluous SIZE attribute on Scene.
author | Jeremy Thurgood <firxen@gmail.com> |
---|---|
date | Tue, 07 Sep 2010 17:05:51 +0200 |
parents | 26f9b4d10e3e |
children | 8f3c82c685a4 |
files | gamelib/scenes/bridge.py gamelib/scenes/cryo.py gamelib/scenes/engine.py gamelib/state.py |
diffstat | 4 files changed, 0 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/gamelib/scenes/bridge.py Tue Sep 07 13:45:07 2010 +0200 +++ b/gamelib/scenes/bridge.py Tue Sep 07 17:05:51 2010 +0200 @@ -358,8 +358,6 @@ BACKGROUND = 'chair_detail.png' NAME = 'chair_detail' - SIZE = (300, 300) - def __init__(self, state): super(ChairDetail, self).__init__(state) self.add_thing(SuperconductorThing()) @@ -523,8 +521,6 @@ FOLDER = 'bridge' NAME = 'bridge_comp_detail' - SIZE = (640, 400) - ALERT_BASE = 'comp_alert_base.png' ALERTS = { 'ai looping' : 'comp_alert_ai_looping.png',
--- a/gamelib/scenes/cryo.py Tue Sep 07 13:45:07 2010 +0200 +++ b/gamelib/scenes/cryo.py Tue Sep 07 17:05:51 2010 +0200 @@ -476,8 +476,6 @@ BACKGROUND_FIXED = "comp_info_detail_fixed.png" NAME = "cryo_comp_detail" - SIZE = (640, 400) - def __init__(self, state): super(CryoCompDetail, self).__init__(state) self._background_fixed = get_image(self.FOLDER, self.BACKGROUND_FIXED) @@ -495,8 +493,6 @@ BACKGROUND = "cryo_unit_detail.png" NAME = "cryo_detail" - SIZE = (300, 300) - def __init__(self, state): super(CryoUnitWithCorpse, self).__init__(state) self.add_thing(TitaniumLegThing())
--- a/gamelib/scenes/engine.py Tue Sep 07 13:45:07 2010 +0200 +++ b/gamelib/scenes/engine.py Tue Sep 07 17:05:51 2010 +0200 @@ -514,8 +514,6 @@ BACKGROUND = "engine_comp_detail.png" NAME = "engine_comp_detail" - SIZE = (640, 400) - ALERTS = { 'cryo leaking' : 'ec_cryo_leaking.png', 'cryo empty' : 'ec_cryo_reservoir_empty.png',
--- a/gamelib/state.py Tue Sep 07 13:45:07 2010 +0200 +++ b/gamelib/state.py Tue Sep 07 17:05:51 2010 +0200 @@ -247,9 +247,6 @@ # Offset of the background image OFFSET = (0, 0) - # size (for detail views) - SIZE = constants.SCENE_SIZE - def __init__(self, state): StatefulGizmo.__init__(self) # scene name