view gamelib/scenes/cryo.py @ 36:31a431f795e1

Add a hand button placeholder
author Neil Muller <neil@dip.sun.ac.za>
date Sun, 22 Aug 2010 20:25:13 +0200
parents ebc76bc0c067
children 088a101f5b94
line wrap: on
line source

from gamelib.state import Scene, Item

class Cryo(Scene):

    FOLDER = "cryo"
    BACKGROUND = "cryo_room.png"

    def __init__(self, state):
        super(Cryo, self).__init__(state)
        self.add_item(Triangle("triangle"))
        self.add_item(Square("square"))


class Triangle(Item):

    INVENTORY_IMAGE = "triangle.png"


class Square(Item):

    INVENTORY_IMAGE = "square.png"


SCENES = [Cryo]