LambdaHack-0.11.0.1: A game engine library for tactical squad ASCII roguelike dungeon crawlers

Safe Haskell | None
Language | Haskell2010

Game.LambdaHack.Client.UI.Watch.WatchCommonM

Contents

- Internal operations

Description

Common code for displaying atomic update and SFX commands.

Synopsis

- fadeOutOrIn :: MonadClientUI m => Bool -> m ()
- markDisplayNeeded :: MonadClientUI m => LevelId -> m ()
- lookAtMove :: MonadClientUI m => ActorId -> m ()
- stopAtMove :: MonadClientUI m => ActorId -> m ()
- aidVerbMU :: (MonadClientUI m, MsgShared a) => a -> ActorId -> Part -> m ()
- aidVerbDuplicateMU :: (MonadClientUI m, MsgShared a) => a -> ActorId -> Part -> m Bool
- itemVerbMUGeneral :: MonadClientUI m => Bool -> ItemId -> ItemQuant -> Part -> Container -> m Text
- itemVerbMU :: (MonadClientUI m, MsgShared a) => a -> ItemId -> ItemQuant -> Part -> Container -> m ()
- itemVerbMUShort :: (MonadClientUI m, MsgShared a) => a -> ItemId -> ItemQuant -> Part -> Container -> m ()
- itemAidVerbMU :: (MonadClientUI m, MsgShared a) => a -> ActorId -> Part -> ItemId -> Either Int Int -> m ()
- mitemAidVerbMU :: (MonadClientUI m, MsgShared a) => a -> ActorId -> Part -> ItemId -> Maybe Part -> m ()
- itemAidDistinctMU :: MonadClientUI m => MsgClassDistinct -> ActorId -> Part -> Part -> ItemId -> m ()
- manyItemsAidVerbMU :: (MonadClientUI m, MsgShared a) => a -> ActorId -> Part -> [(ItemId, ItemQuant)] -> (Int -> Either (Maybe Int) Int) -> m ()

# Documentation

fadeOutOrIn :: MonadClientUI m => Bool -> m () Source #

markDisplayNeeded :: MonadClientUI m => LevelId -> m () Source #

lookAtMove :: MonadClientUI m => ActorId -> m () Source #

stopAtMove :: MonadClientUI m => ActorId -> m () Source #

aidVerbMU :: (MonadClientUI m, MsgShared a) => a -> ActorId -> Part -> m () Source #

aidVerbDuplicateMU :: (MonadClientUI m, MsgShared a) => a -> ActorId -> Part -> m Bool Source #

itemVerbMUGeneral :: MonadClientUI m => Bool -> ItemId -> ItemQuant -> Part -> Container -> m Text Source #

itemVerbMU :: (MonadClientUI m, MsgShared a) => a -> ItemId -> ItemQuant -> Part -> Container -> m () Source #

itemVerbMUShort :: (MonadClientUI m, MsgShared a) => a -> ItemId -> ItemQuant -> Part -> Container -> m () Source #

itemAidVerbMU :: (MonadClientUI m, MsgShared a) => a -> ActorId -> Part -> ItemId -> Either Int Int -> m () Source #

mitemAidVerbMU :: (MonadClientUI m, MsgShared a) => a -> ActorId -> Part -> ItemId -> Maybe Part -> m () Source #

itemAidDistinctMU :: MonadClientUI m => MsgClassDistinct -> ActorId -> Part -> Part -> ItemId -> m () Source #

manyItemsAidVerbMU :: (MonadClientUI m, MsgShared a) => a -> ActorId -> Part -> [(ItemId, ItemQuant)] -> (Int -> Either (Maybe Int) Int) -> m () Source #

# Internal operations