Safe Haskell | None |
---|---|
Language | Haskell2010 |
Atomic monads for handling atomic game state transformations.
- class MonadStateRead m => MonadAtomic m where
Documentation
class MonadStateRead m => MonadAtomic m where Source #
The monad for executing atomic game state transformations.
execUpdAtomic :: UpdAtomic -> m () Source #
Execute an atomic command that really changes the state.
execSfxAtomic :: SfxAtomic -> m () Source #
Execute an atomic command that only displays special effects.
execSendPer :: FactionId -> LevelId -> Perception -> Perception -> Perception -> m () Source #
MonadAtomic CliImplementation Source # | The game-state semantics of atomic commands as computed on the client. |
MonadAtomic SerImplementation Source # | The game-state semantics of atomic commands as computed on the server. |