| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Game.LambdaHack.Client.UI.ActorUI
Description
UI aspects of actors.
Synopsis
- data ActorUI = ActorUI {}
- type ActorDictUI = EnumMap ActorId ActorUI
- keySelected :: (ActorId, Actor, ActorUI) -> (Bool, Bool, Char, Color, ActorId)
- partActor :: ActorUI -> Part
- partPronoun :: ActorUI -> Part
- ppContainer :: Container -> Text
- ppCStore :: CStore -> (Text, Text)
- ppCStoreIn :: CStore -> Text
- ppCStoreWownW :: Bool -> CStore -> Part -> [Part]
- ppContainerWownW :: (ActorId -> Part) -> Bool -> Container -> [Part]
- verbCStore :: CStore -> Text
- tryFindActor :: State -> (ActorId -> Actor -> Bool) -> Maybe (ActorId, Actor)
- tryFindHeroK :: ActorDictUI -> FactionId -> Int -> State -> Maybe (ActorId, Actor)
Documentation
Constructors
| ActorUI | |
Instances
| Eq ActorUI # | |
| Show ActorUI # | |
| Generic ActorUI # | |
| Binary ActorUI # | |
| type Rep ActorUI # | |
Defined in Game.LambdaHack.Client.UI.ActorUI type Rep ActorUI = D1 (MetaData "ActorUI" "Game.LambdaHack.Client.UI.ActorUI" "LambdaHack-0.8.3.0-1hn0NFDS4ux6qD3ggO7yse" False) (C1 (MetaCons "ActorUI" PrefixI True) ((S1 (MetaSel (Just "bsymbol") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Char) :*: S1 (MetaSel (Just "bname") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "bpronoun") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "bcolor") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Color)))) | |
type ActorDictUI = EnumMap ActorId ActorUI #
partPronoun :: ActorUI -> Part #
The part of speech containing the actor pronoun.
ppContainer :: Container -> Text #
ppCStoreIn :: CStore -> Text #
verbCStore :: CStore -> Text #
tryFindHeroK :: ActorDictUI -> FactionId -> Int -> State -> Maybe (ActorId, Actor) #