comparison gamelib/scenes/cryo.py @ 135:b43599b7f8a2

Cursor highlights
author Stefano Rivera <stefano@rivera.za.net>
date Tue, 24 Aug 2010 20:33:20 +0200
parents faac82748f5a
children d264850806dc
comparison
equal deleted inserted replaced
134:faac82748f5a 135:b43599b7f8a2
1 """Cryo room where the prisoner starts out.""" 1 """Cryo room where the prisoner starts out."""
2 2
3 import random 3 import random
4 4
5 from gamelib import speech
6 from gamelib.cursor import CursorSprite
5 from gamelib.state import Scene, Item, Thing, Result, \ 7 from gamelib.state import Scene, Item, Thing, Result, \
6 InteractImage, InteractNoImage, InteractRectUnion, \ 8 InteractImage, InteractNoImage, InteractRectUnion, \
7 InteractAnimated 9 InteractAnimated
8 from gamelib import speech
9 10
10 11
11 class Cryo(Scene): 12 class Cryo(Scene):
12 13
13 FOLDER = "cryo" 14 FOLDER = "cryo"
38 39
39 class TitaniumLeg(Item): 40 class TitaniumLeg(Item):
40 "Titanium leg, found on a piratical corpse." 41 "Titanium leg, found on a piratical corpse."
41 42
42 INVENTORY_IMAGE = "titanium_femur.png" 43 INVENTORY_IMAGE = "titanium_femur.png"
43 CURSOR = ('titanium_femur_cursor.png', 47, 3) 44 CURSOR = CursorSprite('titanium_femur_cursor.png', 47, 3)
44 45
45 46
46 class CryoUnitAlpha(Thing): 47 class CryoUnitAlpha(Thing):
47 "Cryo unit containing titanium leg." 48 "Cryo unit containing titanium leg."
48 49