LambdaHack-0.8.0.0: A game engine library for tactical squad ASCII roguelike dungeon crawlers

Safe HaskellNone
LanguageHaskell2010

Game.LambdaHack.SampleImplementation.SampleMonadServer

Contents

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 -> KeyKind -> ServerOptions -> 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
Monad SerImplementation Source # 
Instance details

Defined in Game.LambdaHack.SampleImplementation.SampleMonadServer

Functor SerImplementation Source # 
Instance details

Defined in Game.LambdaHack.SampleImplementation.SampleMonadServer

Applicative SerImplementation Source # 
Instance details

Defined in Game.LambdaHack.SampleImplementation.SampleMonadServer

MonadStateRead SerImplementation Source # 
Instance details

Defined in Game.LambdaHack.SampleImplementation.SampleMonadServer

Methods

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

MonadStateWrite SerImplementation Source # 
Instance details

Defined in Game.LambdaHack.SampleImplementation.SampleMonadServer

MonadServerAtomic SerImplementation Source # 
Instance details

Defined in Game.LambdaHack.SampleImplementation.SampleMonadServer

MonadServer SerImplementation Source # 
Instance details

Defined in Game.LambdaHack.SampleImplementation.SampleMonadServer

MonadServerReadRequest SerImplementation Source # 
Instance details

Defined in Game.LambdaHack.SampleImplementation.SampleMonadServer