Mercurial > pyntnclick
comparison gamelib/scenes/mess.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 | 071a93441995 |
children | 3ce19d33b51f |
comparison
equal
deleted
inserted
replaced
591:4117d7b201a4 | 592:4e9178215e75 |
---|---|
19 | 19 |
20 INITIAL_DATA = { | 20 INITIAL_DATA = { |
21 'life support status': 'broken', # broken, replaced, fixed | 21 'life support status': 'broken', # broken, replaced, fixed |
22 } | 22 } |
23 | 23 |
24 def __init__(self, state): | 24 def setup(self): |
25 super(Mess, self).__init__(state) | |
26 self.add_thing(CansOnShelf()) | 25 self.add_thing(CansOnShelf()) |
27 self.add_thing(Tubes()) | 26 self.add_thing(Tubes()) |
28 self.add_thing(ToMap()) | 27 self.add_thing(ToMap()) |
29 self.add_thing(DetergentThing()) | 28 self.add_thing(DetergentThing()) |
30 self.add_thing(Boomslang()) | 29 self.add_thing(Boomslang()) |