Safe Haskell | None |
---|---|
Language | Haskell2010 |
Game.LambdaHack.Content.RuleKind
Contents
Description
The type of game rules and assorted game data.
Synopsis
- data RuleContent = RuleContent {}
- emptyRuleContent :: RuleContent
- makeData :: RuleContent -> RuleContent
- emptyRuleContentRaw :: RuleContent
- validateSingle :: RuleContent -> [Text]
Documentation
data RuleContent Source #
The type of game rules and assorted game data.
Constructors
RuleContent | |
Fields
|
makeData :: RuleContent -> RuleContent Source #
Internal operations
validateSingle :: RuleContent -> [Text] Source #
Catch invalid rule kind definitions.