Safe Haskell | None |
---|
The type of kinds of game factions (heroes, enemies, NPCs, etc.).
- data FactionKind = FactionKind {
- fsymbol :: !Char
- fname :: !Text
- ffreq :: !Freqs
- fAbilityLeader :: ![Ability]
- fAbilityOther :: ![Ability]
- fvalidate :: [FactionKind] -> [FactionKind]
Documentation
data FactionKind Source
Faction properties that are fixed for a given kind of factions.
FactionKind | |
|
fvalidate :: [FactionKind] -> [FactionKind]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.