LambdaHack-0.11.0.1: A game engine library for tactical squad ASCII roguelike dungeon crawlers
Safe HaskellSafe-Inferred
LanguageHaskell2010

Implementation.MonadServerImplementation

Description

The implementation of our custom game server monads. Just as any other component of the library, this implementation can be substituted.

Synopsis

Documentation

executorSer :: COps -> CCUI -> ServerOptions -> UIOptions -> IO () Source #

Run the main server loop, with the given arguments and empty initial states, in the IO monad.

Internal operations

data SerState Source #

Constructors

SerState 

Fields

newtype SerImplementation a Source #

Server state transformation monad.

Instances

Instances details
MonadStateWrite SerImplementation Source # 
Instance details

Defined in Implementation.MonadServerImplementation

MonadStateRead SerImplementation Source # 
Instance details

Defined in Implementation.MonadServerImplementation

Methods

getsState :: (State -> a) -> SerImplementation a Source #

MonadServer SerImplementation Source # 
Instance details

Defined in Implementation.MonadServerImplementation

MonadServerAtomic SerImplementation Source # 
Instance details

Defined in Implementation.MonadServerImplementation

MonadServerComm SerImplementation Source # 
Instance details

Defined in Implementation.MonadServerImplementation

Applicative SerImplementation Source # 
Instance details

Defined in Implementation.MonadServerImplementation

Functor SerImplementation Source # 
Instance details

Defined in Implementation.MonadServerImplementation

Monad SerImplementation Source # 
Instance details

Defined in Implementation.MonadServerImplementation