Safe Haskell | None |
---|---|
Language | Haskell2010 |
The type of kinds of game modes.
- type Caves = IntMap (Text, Maybe Bool)
- data Players = Players {
- playersList :: ![Player]
- playersEnemy :: ![(Text, Text)]
- playersAlly :: ![(Text, Text)]
- data Player = Player {
- playerName :: !Text
- playerFaction :: !Text
- playerIsSpawn :: !Bool
- playerIsHero :: !Bool
- playerEntry :: !Int
- playerInitial :: !Int
- playerLeader :: !Bool
- playerAI :: !Bool
- playerUI :: !Bool
- data ModeKind = ModeKind {}
- validateModeKind :: [ModeKind] -> [ModeKind]
Documentation
type Caves = IntMap (Text, Maybe Bool) Source
Requested cave groups for particular levels. The default is
the "dng" group, which means a random choice from all caves
that can randomly appear. The second component of the pair
is the Escape
feature on the level. True
means it's represented
by <
, False
, by >
.
The specification of players for the game mode.
Players | |
|
Properties of a particular player.
Player | |
|
Game mode specification.
validateModeKind :: [ModeKind] -> [ModeKind] Source
No specific possible problems for the content of this kind, so far, so the validation function always returns the empty list of offending kinds.