comparison gamelib/scenes/bridge.py @ 277:01b22664a12c

coloured wires in bridge
author Neil Muller <neil@dip.sun.ac.za>
date Fri, 27 Aug 2010 21:43:07 +0200
parents d4f08abc58fb
children 8e27efd331aa
comparison
equal deleted inserted replaced
276:75f4ee46ac58 277:01b22664a12c
41 self.add_thing(MassageChair()) 41 self.add_thing(MassageChair())
42 self.add_thing(StethoscopeThing()) 42 self.add_thing(StethoscopeThing())
43 self.add_thing(BridgeComputer()) 43 self.add_thing(BridgeComputer())
44 self.add_thing(LeftLights()) 44 self.add_thing(LeftLights())
45 self.add_thing(RightLights()) 45 self.add_thing(RightLights())
46 self.add_thing(GenericDescThing('bridge.wires', 1,
47 "The brightly coloured wires contrast with the drab walls",
48 ((46, 4, 711, 143),)))
49 self.add_thing(GenericDescThing('bridge.note', 2,
50 "\"Dammit JIM, I'm a doctor, not an engineer\"",
51 (
52 (491, 494, 194, 105),
53 (422, 533, 71, 66),
54 )))
46 55
47 def enter(self): 56 def enter(self):
48 pieces = [get_music(x, prefix='sounds') for x in self.MUSIC] 57 pieces = [get_music(x, prefix='sounds') for x in self.MUSIC]
49 background_playlist = PlayList(pieces, random=True, repeat=True) 58 background_playlist = PlayList(pieces, random=True, repeat=True)
50 change_playlist(background_playlist) 59 change_playlist(background_playlist)