LambdaHack-0.2.0: A roguelike game engine in early and very active development

Safe HaskellNone

Game.LambdaHack.Content.ActorKind

Description

The type of kinds of monsters and heroes.

Synopsis

Documentation

data ActorKind Source

Actor properties that are fixed for a given kind of actors.

Constructors

ActorKind 

Fields

asymbol :: !Char

map symbol

aname :: !String

short description

afreq :: !Freqs

frequency within groups

acolor :: !Color

map color

aspeed :: !Time

natural speed

ahp :: !RollDice

encodes initial and maximal hp

asight :: !Bool

can it see?

asmell :: !Bool

can it smell?

aiq :: !Int

intelligence

aregen :: !Int

regeneration interval

Instances

avalidate :: [ActorKind] -> [ActorKind]Source

Filter a list of kinds, passing through only the incorrect ones, if any.

Make sure actor kinds can be told apart on the level map.