LambdaHack-0.9.3.0: A game engine library for tactical squad ASCII roguelike dungeon crawlers

Safe HaskellNone
LanguageHaskell2010

Game.LambdaHack.Common.ItemAspect

Contents

Description

The type of item aspects and its operations.

Synopsis

Documentation

data AspectRecord Source #

Record of skills conferred by an item as well as of item flags and other item aspects.

Instances
Eq AspectRecord Source # 
Instance details

Defined in Game.LambdaHack.Common.ItemAspect

Ord AspectRecord Source # 
Instance details

Defined in Game.LambdaHack.Common.ItemAspect

Show AspectRecord Source # 
Instance details

Defined in Game.LambdaHack.Common.ItemAspect

Generic AspectRecord Source # 
Instance details

Defined in Game.LambdaHack.Common.ItemAspect

Associated Types

type Rep AspectRecord :: Type -> Type #

Binary AspectRecord Source # 
Instance details

Defined in Game.LambdaHack.Common.ItemAspect

Hashable AspectRecord Source # 
Instance details

Defined in Game.LambdaHack.Common.ItemAspect

type Rep AspectRecord Source # 
Instance details

Defined in Game.LambdaHack.Common.ItemAspect

data KindMean Source #

Partial information about an item, deduced from its item kind. These are assigned to each ItemKind. The kmConst flag says whether the item's aspect record is constant rather than random or dependent on item creation dungeon level.

Constructors

KindMean 

Fields

Instances
Eq KindMean Source # 
Instance details

Defined in Game.LambdaHack.Common.ItemAspect

Ord KindMean Source # 
Instance details

Defined in Game.LambdaHack.Common.ItemAspect

Show KindMean Source # 
Instance details

Defined in Game.LambdaHack.Common.ItemAspect

Generic KindMean Source # 
Instance details

Defined in Game.LambdaHack.Common.ItemAspect

Associated Types

type Rep KindMean :: Type -> Type #

Methods

from :: KindMean -> Rep KindMean x #

to :: Rep KindMean x -> KindMean #

type Rep KindMean Source # 
Instance details

Defined in Game.LambdaHack.Common.ItemAspect

type Rep KindMean = D1 (MetaData "KindMean" "Game.LambdaHack.Common.ItemAspect" "LambdaHack-0.9.3.0-inplace" False) (C1 (MetaCons "KindMean" PrefixI True) (S1 (MetaSel (Just "kmConst") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 Bool) :*: S1 (MetaSel (Just "kmMean") NoSourceUnpackedness NoSourceStrictness DecidedStrict) (Rec0 AspectRecord)))

Internal operations