Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
Instances
Eq ActorUI Source # | |
Show ActorUI Source # | |
Generic ActorUI Source # | |
Binary ActorUI Source # | |
type Rep ActorUI Source # | |
Defined in Game.LambdaHack.Client.UI.ActorUI type Rep ActorUI = D1 (MetaData "ActorUI" "Game.LambdaHack.Client.UI.ActorUI" "LambdaHack-0.8.0.0-F0O84Ns8lID9eizm4mHo10" 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)))) |
partPronoun :: ActorUI -> Part Source #
The part of speech containing the actor pronoun.
ppContainer :: Container -> Text Source #
ppCStoreIn :: CStore -> Text Source #
verbCStore :: CStore -> Text Source #
tryFindHeroK :: ActorDictUI -> FactionId -> Int -> State -> Maybe (ActorId, Actor) Source #