comparison gamelib/scenes/cryo.py @ 525:821b322e903b

Separate "scene widgets" from "game-specific widgets".
author Jeremy Thurgood <firxen@gmail.com>
date Wed, 08 Sep 2010 14:02:11 +0200
parents 8f3c82c685a4
children 0ce08d5e2acb
comparison
equal deleted inserted replaced
524:a91cb4bffd5d 525:821b322e903b
8 from gamelib import speech 8 from gamelib import speech
9 from gamelib.sound import get_sound 9 from gamelib.sound import get_sound
10 from gamelib.cursor import CursorSprite 10 from gamelib.cursor import CursorSprite
11 from gamelib.state import Scene, Item, CloneableItem, Thing, Result 11 from gamelib.state import Scene, Item, CloneableItem, Thing, Result
12 from gamelib.constants import DEBUG 12 from gamelib.constants import DEBUG
13 from gamelib.scenewidgets import (InteractText, InteractNoImage,
14 InteractRectUnion, InteractImage,
15 InteractAnimated, GenericDescThing)
16
13 from gamelib.scenes.game_constants import PLAYER_ID 17 from gamelib.scenes.game_constants import PLAYER_ID
14 from gamelib.scenes.scene_widgets import (Door, InteractText, InteractNoImage, 18 from gamelib.scenes.game_widgets import Door, make_jim_dialog
15 InteractRectUnion, InteractImage,
16 InteractAnimated, GenericDescThing,
17 make_jim_dialog)
18 19
19 20
20 class Cryo(Scene): 21 class Cryo(Scene):
21 22
22 FOLDER = "cryo" 23 FOLDER = "cryo"