Allure-0.10.2.0: Near-future Sci-Fi roguelike and tactical squad combat game
Safe HaskellNone
LanguageHaskell2010

Implementation.MonadClientImplementation

Description

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

Synopsis

Documentation

executorCli :: CCUI -> UIOptions -> ClientOptions -> COps -> Bool -> FactionId -> ChanServer -> IO () Source #

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

Internal operations

data CliState Source #

Constructors

CliState 

Fields

newtype CliImplementation a Source #

Client state transformation monad.

Instances

Instances details
Monad CliImplementation Source # 
Instance details

Defined in Implementation.MonadClientImplementation

Functor CliImplementation Source # 
Instance details

Defined in Implementation.MonadClientImplementation

Applicative CliImplementation Source # 
Instance details

Defined in Implementation.MonadClientImplementation

MonadClientReadResponse CliImplementation Source # 
Instance details

Defined in Implementation.MonadClientImplementation

MonadClientWriteRequest CliImplementation Source # 
Instance details

Defined in Implementation.MonadClientImplementation

MonadClientAtomic CliImplementation Source # 
Instance details

Defined in Implementation.MonadClientImplementation

MonadClientSetup CliImplementation Source # 
Instance details

Defined in Implementation.MonadClientImplementation

MonadStateWrite CliImplementation Source # 
Instance details

Defined in Implementation.MonadClientImplementation

MonadClientUI CliImplementation Source # 
Instance details

Defined in Implementation.MonadClientImplementation

MonadClientRead CliImplementation Source # 
Instance details

Defined in Implementation.MonadClientImplementation

MonadClient CliImplementation Source # 
Instance details

Defined in Implementation.MonadClientImplementation

MonadStateRead CliImplementation Source # 
Instance details

Defined in Implementation.MonadClientImplementation

Methods

getsState :: (State -> a) -> CliImplementation a #