view components/__init__.py @ 119:2399a8c3da0c

Modified EquipmentSlot to display an image instead of a text. Added EquipmentGui class, which handles the equipment slots of the player screen. An EquipmentGui instance will be created in the InventoryGUI constructor. The initializeInventory method of the Hud class supplies the players inventory and equipment to the InventoryGUI constructor.
author KarstenBock@gmx.net
date Wed, 05 Oct 2011 11:04:39 +0200
parents 8d87e1203402
children
line wrap: on
line source

from character_statistics import CharacterStatistics
from containable import Containable
from container import Container
from description import Description
from dialogue import Dialogue
from fifeagent import FifeAgent
from lockable import Lockable
from usable import Usable
from change_map import ChangeMap
from equipable import Equipable
from equip import Equip
from general import General
from behaviour import Behaviour
from graphics import Graphics

components = {
        "general": General(),
        "characterstats": CharacterStatistics(),
        "containable": Containable(),
        "container": Container(),
        "description": Description(),
        "dialogue": Dialogue(),
        "fifeagent": FifeAgent(),
        "lockable": Lockable(),
        "usable": Usable(),
        "change_map": ChangeMap(),
        "equipable": Equipable(),
        "equip": Equip(),
        "behaviour": Behaviour(),
        "graphics": Graphics(),
    }