Mercurial > pyntnclick
comparison 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 |
comparison
equal
deleted
inserted
replaced
591:4117d7b201a4 | 592:4e9178215e75 |
---|---|
32 'creaking.ogg', | 32 'creaking.ogg', |
33 'silent.ogg', | 33 'silent.ogg', |
34 'silent.ogg', | 34 'silent.ogg', |
35 ] | 35 ] |
36 | 36 |
37 def __init__(self, state): | 37 def setup(self): |
38 super(Cryo, self).__init__(state) | |
39 self.add_item(TitaniumLeg("titanium_leg")) | 38 self.add_item(TitaniumLeg("titanium_leg")) |
40 self.add_thing(CryoUnitAlpha()) | 39 self.add_thing(CryoUnitAlpha()) |
41 self.add_thing(CryoRoomDoor()) | 40 self.add_thing(CryoRoomDoor()) |
42 self.add_thing(CryoComputer()) | 41 self.add_thing(CryoComputer()) |
43 self.add_thing(CryoPipeLeft()) | 42 self.add_thing(CryoPipeLeft()) |
507 | 506 |
508 FOLDER = "cryo" | 507 FOLDER = "cryo" |
509 BACKGROUND = "cryo_unit_detail.png" | 508 BACKGROUND = "cryo_unit_detail.png" |
510 NAME = "cryo_detail" | 509 NAME = "cryo_detail" |
511 | 510 |
512 def __init__(self, state): | 511 def setup(self): |
513 super(CryoUnitWithCorpse, self).__init__(state) | |
514 self.add_thing(TitaniumLegThing()) | 512 self.add_thing(TitaniumLegThing()) |
515 self.add_thing(PlaqueThing()) | 513 self.add_thing(PlaqueThing()) |
516 | 514 |
517 | 515 |
518 SCENES = [Cryo] | 516 SCENES = [Cryo] |