Safe Haskell | None |
---|---|
Language | Haskell2010 |
UI aspects of actors.
Synopsis
- data ActorUI = ActorUI {}
- type ActorDictUI = EnumMap ActorId ActorUI
- keySelected :: (ActorId, Actor, ActorUI) -> (Bool, Bool, Bool, Char, Color, ActorId)
- partActor :: ActorUI -> Part
- partPronoun :: ActorUI -> Part
- ppCStoreWownW :: Bool -> CStore -> Part -> [Part]
- ppContainerWownW :: (ActorId -> Part) -> Bool -> Container -> [Part]
- 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.9.3.1-inplace" 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's pronoun.
tryFindHeroK :: ActorDictUI -> FactionId -> Int -> State -> Maybe (ActorId, Actor) Source #