Mercurial > pyntnclick
comparison gamelib/scenes/map.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 | af2a23b9787d |
children | 0ce08d5e2acb |
comparison
equal
deleted
inserted
replaced
524:a91cb4bffd5d | 525:821b322e903b |
---|---|
6 | 6 |
7 Many parts of the ship are derelict and inaccessible. | 7 Many parts of the ship are derelict and inaccessible. |
8 """ | 8 """ |
9 | 9 |
10 from gamelib.state import Scene, Item, Thing, Result | 10 from gamelib.state import Scene, Item, Thing, Result |
11 from gamelib.scenewidgets import InteractRectUnion | |
12 | |
11 from gamelib.scenes.game_constants import PLAYER_ID | 13 from gamelib.scenes.game_constants import PLAYER_ID |
12 from gamelib.scenes.scene_widgets import (Door, InteractText, InteractNoImage, | 14 from gamelib.scenes.game_widgets import make_jim_dialog |
13 InteractRectUnion, InteractImage, | |
14 InteractAnimated, GenericDescThing, | |
15 make_jim_dialog) | |
16 | 15 |
17 | 16 |
18 class Map(Scene): | 17 class Map(Scene): |
19 | 18 |
20 FOLDER = "map" | 19 FOLDER = "map" |