comparison gamelib/scenes/bridge.py @ 302:6d93e04036c9

CursorSprite: Default pointer-position to the centre of the cursor
author Stefano Rivera <stefano@rivera.za.net>
date Sat, 28 Aug 2010 01:32:54 +0200
parents 4012d50a4674
children 7b07ffc37ec0
comparison
equal deleted inserted replaced
301:cecdb67f4f4b 302:6d93e04036c9
140 140
141 class Stethoscope(Item): 141 class Stethoscope(Item):
142 "Used for cracking safes. Found on the doctor on the chair" 142 "Used for cracking safes. Found on the doctor on the chair"
143 143
144 INVENTORY_IMAGE = 'stethoscope.png' 144 INVENTORY_IMAGE = 'stethoscope.png'
145 CURSOR = CursorSprite('stethoscope.png', 29, 27) 145 CURSOR = CursorSprite('stethoscope.png')
146 146
147 147
148 class StethoscopeThing(Thing): 148 class StethoscopeThing(Thing):
149 "Stehoscope on the doctor" 149 "Stehoscope on the doctor"
150 150
170 170
171 class Superconductor(Item): 171 class Superconductor(Item):
172 "Used for connecting high-powered parts of the ship up" 172 "Used for connecting high-powered parts of the ship up"
173 173
174 INVENTORY_IMAGE = 'superconductor_fixed.png' 174 INVENTORY_IMAGE = 'superconductor_fixed.png'
175 CURSOR = CursorSprite('superconductor_fixed.png', 20, 20) 175 CURSOR = CursorSprite('superconductor_fixed.png')
176 176
177 177
178 class SuperconductorThing(Thing): 178 class SuperconductorThing(Thing):
179 "Superconductor from the massage chair." 179 "Superconductor from the massage chair."
180 180