Safe Haskell | Safe-Inferred |
---|---|
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
- tryFindActor :: State -> (ActorId -> Actor -> Bool) -> Maybe (ActorId, Actor)
- tryFindHeroK :: ActorDictUI -> FactionId -> Int -> State -> Maybe (ActorId, Actor)
Documentation
Instances
Generic ActorUI Source # | |
Show ActorUI Source # | |
Binary ActorUI Source # | |
Eq 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.11.0.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 #