LambdaHack-0.8.1.2: A game engine library for tactical squad ASCII roguelike dungeon crawlers

Safe HaskellNone
LanguageHaskell2010

Game.LambdaHack.Client.UI.ItemSlot

Description

Item slots for UI and AI item collections.

Synopsis

Documentation

data SlotChar Source #

Slot label. Usually just a character. Sometimes with a numerical prefix.

Constructors

SlotChar 

Fields

newtype ItemSlots Source #

A collection of mappings from slot labels to item identifiers.

assignSlot :: EnumSet ItemId -> SLore -> ItemSlots -> SlotChar Source #

Assigns a slot to an item, e.g., for inclusion in the inventory of a hero.