Mercurial > boomslang
comparison gamelib/scenes/engine.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 | 2ec328aeeaf8 |
children | 5031b84fbb4c |
comparison
equal
deleted
inserted
replaced
301:cecdb67f4f4b | 302:6d93e04036c9 |
---|---|
95 return Result("You enter the engine room. Even if there wasn't a vacuum " | 95 return Result("You enter the engine room. Even if there wasn't a vacuum " |
96 "it would be errily quiet.") | 96 "it would be errily quiet.") |
97 | 97 |
98 class CanOpener(Item): | 98 class CanOpener(Item): |
99 INVENTORY_IMAGE = 'triangle.png' | 99 INVENTORY_IMAGE = 'triangle.png' |
100 CURSOR = CursorSprite('triangle.png', 25, 23) | 100 CURSOR = CursorSprite('triangle.png') |
101 | 101 |
102 | 102 |
103 class CanOpenerThing(Thing): | 103 class CanOpenerThing(Thing): |
104 NAME = 'engine.canopener' | 104 NAME = 'engine.canopener' |
105 | 105 |
119 "the vacuum has kept it in perfect condition.") | 119 "the vacuum has kept it in perfect condition.") |
120 | 120 |
121 | 121 |
122 class BrokenSuperconductor(Item): | 122 class BrokenSuperconductor(Item): |
123 INVENTORY_IMAGE = 'superconductor_broken.png' | 123 INVENTORY_IMAGE = 'superconductor_broken.png' |
124 CURSOR = CursorSprite('superconductor_broken_cursor.png', 13, 19) | 124 CURSOR = CursorSprite('superconductor_broken_cursor.png') |
125 | 125 |
126 | 126 |
127 class SuperconductorSocket(Thing): | 127 class SuperconductorSocket(Thing): |
128 NAME = 'engine.superconductor' | 128 NAME = 'engine.superconductor' |
129 | 129 |