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

Safe HaskellNone

Game.LambdaHack.Common.ClientCmd

Description

Synopsis

Documentation

data CmdClientAI Source

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

Instances

data CmdClientUI Source

Abstract syntax of client commands that use the UI.

Instances

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

data ChanServer c d Source

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 CmdTakeTimeSer)Source

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

type ConnServerDict = EnumMap FactionId ConnServerFactionSource

Connection information for all factions, indexed by faction identifier.