LambdaHack-0.11.0.0: A game engine library for tactical squad ASCII roguelike dungeon crawlers
Safe HaskellNone
LanguageHaskell2010

Game.LambdaHack.Client.UI.Content.Screen

Description

The type of definitions of screen layout and features.

Synopsis

Documentation

data ScreenContent Source #

Screen layout and features definition.

Warning: this type is not abstract, but its values should not be created ad hoc, even for unit tests, but should be constructed with makeData, which includes validation,

The emptyScreenContent is one such valid by construction value of this type. It's suitable for bootstrapping and for testing.

Constructors

ScreenContent 

Fields

Internal operations

validateSingle :: RuleContent -> ScreenContent -> [Text] Source #

Catch invalid rule kind definitions.