Mercurial > pyntnclick
comparison gamelib/scenes/engine.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 |
---|---|
1 """Engine room where things need to be repaired.""" | 1 """Engine room where things need to be repaired.""" |
2 | 2 |
3 from albow.resource import get_image | 3 from albow.resource import get_image |
4 from gamelib.cursor import CursorSprite | 4 from gamelib.cursor import CursorSprite |
5 from gamelib.state import Scene, Item, Thing, Result | 5 from gamelib.state import Scene, Item, Thing, Result |
6 from gamelib.scenewidgets import (InteractText, InteractNoImage, | |
7 InteractRectUnion, InteractImage, | |
8 InteractAnimated, GenericDescThing) | |
9 | |
6 from gamelib.scenes.game_constants import PLAYER_ID | 10 from gamelib.scenes.game_constants import PLAYER_ID |
7 from gamelib.scenes.scene_widgets import (Door, InteractText, InteractNoImage, | 11 from gamelib.scenes.game_widgets import Door, make_jim_dialog |
8 InteractRectUnion, InteractImage, | |
9 InteractAnimated, GenericDescThing, | |
10 make_jim_dialog) | |
11 | 12 |
12 | 13 |
13 class Engine(Scene): | 14 class Engine(Scene): |
14 | 15 |
15 FOLDER = "engine" | 16 FOLDER = "engine" |