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

Safe HaskellNone
LanguageHaskell2010

Game.LambdaHack.Server.State

Description

Server and client game state types and operations.

Synopsis

Documentation

data StateServer Source #

State with server-specific data, including a copy of each client's basic game state, but not the server's basic state.

Constructors

StateServer 

Fields

type ActorTime = EnumMap FactionId (EnumMap LevelId (EnumMap ActorId Time)) Source #

Position in time for each actor, grouped by level and by faction.

emptyStateServer :: StateServer Source #

Initial, empty game server state.