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

Safe HaskellNone

Game.LambdaHack.Command

Description

Abstract syntax of player commands.

Synopsis

Documentation

data Cmd Source

Abstract syntax of player commands. The type is abstract, but the values are created outside this module via the Read class (from config file) .

Instances

majorCmd :: Cmd -> BoolSource

Major commands land on the first page of command help.

timedCmd :: Cmd -> BoolSource

Time cosuming commands are marked as such in help and cannot be invoked in targeting mode on a remote level (level different than the level of the selected hero).

cmdDescription :: Cmd -> StringSource

Description of player commands.