LambdaHack-0.2.10: A roguelike game engine in early and active development

Safe HaskellNone

Game.LambdaHack.Common.ClientCmd

Description

Synopsis

Documentation

data CmdClientAI

Abstract syntax of client commands that don't use the UI.

Instances

data CmdClientUI

Abstract syntax of client commands that use the UI.

Instances

debugAid :: (MonadActionRO m, Show a) => ActorId -> Text -> a -> m Text

data ChanServer c d

Connection channels between the server and a single client.

Constructors

ChanServer 

Fields

fromServer :: !(TQueue c)
 
toServer :: !(TQueue d)
 

type ConnServerFaction = (Maybe (ChanFrontend, ChanServer CmdClientUI CmdSer), ChanServer CmdClientAI CmdSerTakeTime)

Connections to the human-controlled client of a faction and to the AI client for the same faction.

type ConnServerDict = EnumMap FactionId ConnServerFaction

Connection information for all factions, indexed by faction identifier.