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, 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
Constructors
ActorUI | |
Instances
partPronoun :: ActorUI -> Part Source #
The part of speech containing the actor's pronoun.
tryFindHeroK :: ActorDictUI -> FactionId -> Int -> State -> Maybe (ActorId, Actor) Source #