LambdaHack-0.6.1.0: A game engine library for roguelike dungeon crawlers

Safe HaskellNone
LanguageHaskell2010

Game.LambdaHack.Client.HandleAtomicM

Description

Handle atomic commands received by the client.

Synopsis

Documentation

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

Effect of atomic actions on client state is calculated with the global state from before the command is executed.

cmdAtomicFilterCli :: MonadClient m => UpdAtomic -> m [UpdAtomic] Source #

Clients keep a subset of atomic commands sent by the server and add some of their own. The result of this function is the list of commands kept for each command received.