Safe Haskell | None |
---|---|
Language | Haskell2010 |
Item slots for UI and AI item collections. TODO: document
- type ItemSlots = (EnumMap SlotChar ItemId, EnumMap SlotChar ItemId)
- data SlotChar = SlotChar {
- slotPrefix :: Int
- slotChar :: Char
- allSlots :: Int -> [SlotChar]
- slotLabel :: SlotChar -> Part
- slotRange :: [SlotChar] -> Text
- assignSlot :: CStore -> Item -> FactionId -> Maybe Actor -> ItemSlots -> SlotChar -> State -> SlotChar
Documentation
SlotChar | |
|