Safe Haskell | None |
---|---|
Language | Haskell2010 |
The type of game rules and assorted game data.
Synopsis
- data RuleContent = RuleContent {
- rtitle :: String
- rXmax :: X
- rYmax :: Y
- rexeVersion :: Version
- rcfgUIName :: FilePath
- rcfgUIDefault :: (String, Config)
- rwriteSaveClips :: Int
- rleadLevelClips :: Int
- rscoresFile :: FilePath
- rnearby :: Int
- rstairWordCarried :: [Text]
- rsymbolProjectile :: Char
- emptyRuleContent :: RuleContent
- makeData :: RuleContent -> RuleContent
- validateSingle :: RuleContent -> [Text]
Documentation
data RuleContent Source #
The type of game rules and assorted game data.
RuleContent | |
|
makeData :: RuleContent -> RuleContent Source #
Internal operations
validateSingle :: RuleContent -> [Text] Source #
Catch invalid rule kind definitions.