ohhecs-0.0.2: An Entity-Component-Systems engine core.
Copyright(C) 2020 Sophie Taylor
LicenseAGPL-3.0-or-later
MaintainerSophie Taylor <sophie@spacekitteh.moe>
Stabilityexperimental
PortabilityGHC
Safe HaskellTrustworthy
LanguageGHC2021

Games.ECS.Prototype

Description

Prototypes are exemplar individuals which form a template.

Synopsis

Documentation

data IsPrototype Source #

A component for denoting that an individual is a prototype, to be instantiated later.

Constructors

IsPrototype 

Fields

Instances

Instances details
Generic IsPrototype Source # 
Instance details

Defined in Games.ECS.Prototype

Associated Types

type Rep IsPrototype 
Instance details

Defined in Games.ECS.Prototype

type Rep IsPrototype = D1 ('MetaData "IsPrototype" "Games.ECS.Prototype" "ohhecs-0.0.2-inplace" 'False) (C1 ('MetaCons "IsPrototype" 'PrefixI 'True) (S1 ('MetaSel ('Just "_rawIsPrototypeID") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 PrototypeID) :*: S1 ('MetaSel ('Just "_extendsPrototype") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe PrototypeID))))
Show IsPrototype Source # 
Instance details

Defined in Games.ECS.Prototype

Eq IsPrototype Source # 
Instance details

Defined in Games.ECS.Prototype

Component IsPrototype Source # 
Instance details

Defined in Games.ECS.Prototype

Associated Types

type CanonicalName IsPrototype 
Instance details

Defined in Games.ECS.Prototype

type CanonicalName IsPrototype = "isPrototype"
type IsFlag IsPrototype 
Instance details

Defined in Games.ECS.Prototype

type Storage IsPrototype 
Instance details

Defined in Games.ECS.Prototype

type Prop IsPrototype 
Instance details

Defined in Games.ECS.Prototype

HasPrototypeID IsPrototype Source # 
Instance details

Defined in Games.ECS.Prototype

XMLPickler [Node] IsPrototype Source # 
Instance details

Defined in Games.ECS.Prototype

type Rep IsPrototype Source # 
Instance details

Defined in Games.ECS.Prototype

type Rep IsPrototype = D1 ('MetaData "IsPrototype" "Games.ECS.Prototype" "ohhecs-0.0.2-inplace" 'False) (C1 ('MetaCons "IsPrototype" 'PrefixI 'True) (S1 ('MetaSel ('Just "_rawIsPrototypeID") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 PrototypeID) :*: S1 ('MetaSel ('Just "_extendsPrototype") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe PrototypeID))))
type CanonicalName IsPrototype Source # 
Instance details

Defined in Games.ECS.Prototype

type CanonicalName IsPrototype = "isPrototype"
type IsFlag IsPrototype Source # 
Instance details

Defined in Games.ECS.Prototype

type Prop IsPrototype Source # 
Instance details

Defined in Games.ECS.Prototype

type Storage IsPrototype Source # 
Instance details

Defined in Games.ECS.Prototype

type UsingIsPrototype (worldType :: Access -> Type) (s :: Access) = (HasIsPrototype worldType, EntityProperty "isPrototype" worldType s (Prop IsPrototype) IsPrototype, OpticsFor "isPrototype" worldType s (Prop IsPrototype) IsPrototype ~ ReifiedIndexedTraversal' Entity (worldType s) IsPrototype) Source #