LambdaHack-0.6.1.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

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.