LambdaHack-0.7.0.0: A game engine library for roguelike dungeon crawlers

Safe HaskellNone
LanguageHaskell2010

Game.LambdaHack.Client.UI.ItemSlot

Description

Item slots for UI and AI item collections.

Synopsis

Documentation

data ItemSlots Source #

Mapping from slot labels to item identifiers.

assignSlot :: CStore -> Item -> FactionId -> Maybe Actor -> ItemSlots -> SlotChar -> State -> SlotChar Source #

Assigns a slot to an item, for inclusion in the inventory of a hero. Tries to to use the requested slot, if any.