view gamelib/scenes/bridge.py @ 120:48d24a48d0ce

Enter and leave hooks
author Neil Muller <neil@dip.sun.ac.za>
date Tue, 24 Aug 2010 17:24:54 +0200
parents 75bf3d3689e9
children 5e5d71e40e54
line wrap: on
line source

"""Bridge where the final showdown with the AI occurs."""

from gamelib.state import Scene, Item, Thing, Result


class Bridge(Scene):

    # FOLDER = "bridge"
    # BACKGROUND = None # TODO

    # TODO: This is for testing.
    FOLDER = "cryo"
    BACKGROUND = "cryo_room.png"
    NAME = "bridge"

    INITIAL_DATA = {
        'accessible': False,
        }

    def enter(self):
        return Result("The bridge is in a sorry, shabby state")



SCENES = [Bridge]