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

Game.LambdaHack.Server.HandleAtomicM

Description

Handle atomic commands on the server, after they are executed to change server State and before they are sent to clients.

Synopsis

Documentation

cmdAtomicSemSer :: MonadServer m => State -> UpdAtomic -> m () Source #

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

Internal operations