LambdaHack-0.11.0.0: A game engine library for tactical squad ASCII roguelike dungeon crawlers
Safe HaskellNone
LanguageHaskell2010

Game.LambdaHack.Definition.DefsInternal

Description

Very basic types for content definitions with their internals exposed.

Synopsis

Documentation

newtype GroupName c Source #

Constructors

GroupName 

Fields

Instances

Instances details
Eq (GroupName c) Source # 
Instance details

Defined in Game.LambdaHack.Definition.DefsInternal

Methods

(==) :: GroupName c -> GroupName c -> Bool #

(/=) :: GroupName c -> GroupName c -> Bool #

Ord (GroupName c) Source # 
Instance details

Defined in Game.LambdaHack.Definition.DefsInternal

Show (GroupName c) Source # 
Instance details

Defined in Game.LambdaHack.Definition.DefsInternal

Binary (GroupName c) Source # 
Instance details

Defined in Game.LambdaHack.Definition.DefsInternal

Methods

put :: GroupName c -> Put #

get :: Get (GroupName c) #

putList :: [GroupName c] -> Put #

NFData (GroupName c) Source # 
Instance details

Defined in Game.LambdaHack.Definition.DefsInternal

Methods

rnf :: GroupName c -> () #

Hashable (GroupName c) Source # 
Instance details

Defined in Game.LambdaHack.Definition.DefsInternal

Methods

hashWithSalt :: Int -> GroupName c -> Int #

hash :: GroupName c -> Int #

displayGroupName :: GroupName c -> Text Source #

This does not need to be 1-1, so should not be used in place of the Eq instance, etc.

data ContentId c Source #

Content identifiers for the content type c.

Instances

Instances details
Enum (ContentId c) Source # 
Instance details

Defined in Game.LambdaHack.Definition.DefsInternal

Eq (ContentId c) Source # 
Instance details

Defined in Game.LambdaHack.Definition.DefsInternal

Methods

(==) :: ContentId c -> ContentId c -> Bool #

(/=) :: ContentId c -> ContentId c -> Bool #

Ord (ContentId c) Source # 
Instance details

Defined in Game.LambdaHack.Definition.DefsInternal

Show (ContentId c) Source # 
Instance details

Defined in Game.LambdaHack.Definition.DefsInternal

Binary (ContentId c) Source # 
Instance details

Defined in Game.LambdaHack.Definition.DefsInternal

Methods

put :: ContentId c -> Put #

get :: Get (ContentId c) #

putList :: [ContentId c] -> Put #

Hashable (ContentId c) Source # 
Instance details

Defined in Game.LambdaHack.Definition.DefsInternal

Methods

hashWithSalt :: Int -> ContentId c -> Int #

hash :: ContentId c -> Int #

UnboxRepClass (ContentId k) Source # 
Instance details

Defined in Game.LambdaHack.Common.PointArray

Associated Types

type UnboxRep (ContentId k) Source #

type UnboxRep (ContentId k) Source # 
Instance details

Defined in Game.LambdaHack.Common.PointArray