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

Safe HaskellNone

Game.LambdaHack.Client.HandleAtomicClient

Description

Handle atomic commands received by the client.

Synopsis

Documentation

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.