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

Safe HaskellNone
LanguageHaskell2010

Game.LambdaHack.Server.HandleAtomicM

Contents

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