aztecs-0.12.0: A modular game engine and Entity-Component-System (ECS) for Haskell.
Copyright(c) Matt Hunzinger 2025
LicenseBSD-style (see the LICENSE file in the distribution)
Maintainermatt@hunzinger.me
Stabilityprovisional
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Aztecs.ECS.Component

Description

 
Synopsis

Documentation

newtype ComponentID Source #

Unique component identifier.

Since: 0.9

Constructors

ComponentID 

Fields

Instances

Instances details
Generic ComponentID Source # 
Instance details

Defined in Aztecs.ECS.Component

Associated Types

type Rep ComponentID :: Type -> Type #

Show ComponentID Source # 
Instance details

Defined in Aztecs.ECS.Component

NFData ComponentID Source # 
Instance details

Defined in Aztecs.ECS.Component

Methods

rnf :: ComponentID -> () #

Eq ComponentID Source # 
Instance details

Defined in Aztecs.ECS.Component

Ord ComponentID Source # 
Instance details

Defined in Aztecs.ECS.Component

type Rep ComponentID Source # 
Instance details

Defined in Aztecs.ECS.Component

type Rep ComponentID = D1 ('MetaData "ComponentID" "Aztecs.ECS.Component" "aztecs-0.12.0-GlKmPfHNl6i8JdqwU1RE4N" 'True) (C1 ('MetaCons "ComponentID" 'PrefixI 'True) (S1 ('MetaSel ('Just "unComponentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))

class (Typeable a, Storage a (StorageT a)) => Component a Source #

Component that can be stored in the World.

Since: 0.9

Associated Types

type StorageT a Source #

Storage of this component.

Since: 0.9

type StorageT a = [a]