LambdaHack-0.10.2.0: A game engine library for tactical squad ASCII roguelike dungeon crawlers
Safe HaskellNone
LanguageHaskell2010

Game.LambdaHack.Client.HandleAtomicM

Description

Handle atomic commands received by the client.

Synopsis

Documentation

class MonadClient m => MonadClientSetup m where Source #

Client monad for saving a game.

Methods

saveClient :: m () Source #

Instances

Instances details
MonadClientSetup CliImplementation Source # 
Instance details

Defined in Implementation.MonadClientImplementation

cmdAtomicSemCli :: MonadClientSetup m => State -> UpdAtomic -> m () Source #

Effect of atomic actions on client state. It is calculated with the global state from after the command is executed (except where the supplied oldState is used).

Internal operations

createActor :: MonadClient m => ActorId -> Actor -> [(ItemId, Item)] -> m () Source #