LambdaHack-0.6.1.0: A game engine library for roguelike dungeon crawlers

Safe HaskellNone
LanguageHaskell2010

Game.LambdaHack.Common.ContentDef

Description

A game requires the engine provided by the library, perhaps customized, and game content, defined completely afresh for the particular game. The general type of the content is ContentDef and it has instances for all content kinds, such as items kinds (Game.LambdaHack.Content.ItemKind). The possible kinds are fixed in the library and all defined in the same directory. On the other hand, game content, that is all elements of ContentDef instances, are defined in a directory of the game code proper, with names corresponding to their kinds.

Synopsis

Documentation

data ContentDef a Source #

The general type of a particular game content, e.g., item kinds.

Constructors

ContentDef 

Fields