LambdaHack- A game engine library for roguelike dungeon crawlers

Safe HaskellNone



Handle atomic commands received by the client.



cmdAtomicSemCli :: MonadClient m => UpdAtomic -> m ()Source

Effect of atomic actions on client state is calculated in the global state 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.