Mercurial > boomslang
diff gamelib/scenes/cryo.py @ 592:4e9178215e75 pyntnclick
Introduce .setup() for GameDeveloperGizmos.
author | Simon Cross <hodgestar+bzr@gmail.com> |
---|---|
date | Sat, 11 Feb 2012 17:38:57 +0200 |
parents | ea9dd2b9186a |
children | 59f1ee3f5632 |
line wrap: on
line diff
--- a/gamelib/scenes/cryo.py Sat Feb 11 17:34:23 2012 +0200 +++ b/gamelib/scenes/cryo.py Sat Feb 11 17:38:57 2012 +0200 @@ -34,8 +34,7 @@ 'silent.ogg', ] - def __init__(self, state): - super(Cryo, self).__init__(state) + def setup(self): self.add_item(TitaniumLeg("titanium_leg")) self.add_thing(CryoUnitAlpha()) self.add_thing(CryoRoomDoor()) @@ -509,8 +508,7 @@ BACKGROUND = "cryo_unit_detail.png" NAME = "cryo_detail" - def __init__(self, state): - super(CryoUnitWithCorpse, self).__init__(state) + def setup(self): self.add_thing(TitaniumLegThing()) self.add_thing(PlaqueThing())