Safe Haskell | None |
---|
The type of kinds of game modes.
- type Caves = EnumMap LevelId (Text, Maybe Bool)
- data Players = Players {
- playersList :: ![Player]
- playersEnemy :: ![(Text, Text)]
- playersAlly :: ![(Text, Text)]
- data Player = Player {
- playerName :: !Text
- playerFaction :: !Text
- playerEntry :: !LevelId
- playerInitial :: !Int
- playerAiLeader :: !Bool
- playerAiOther :: !Bool
- playerHuman :: !Bool
- playerUI :: !Bool
- data ModeKind = ModeKind {}
- mvalidate :: [ModeKind] -> [ModeKind]
Documentation
type Caves = EnumMap LevelId (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.