aztecs-0.8.0: A modular game engine and Entity-Component-System (ECS) for Haskell.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Aztecs.ECS.Component

Synopsis

Documentation

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

Component that can be stored in the World.

Associated Types

type StorageT a :: Type Source #

Storage of this component.

type StorageT a = [a]

Instances

Instances details
Component Camera Source # 
Instance details

Defined in Aztecs.Camera

Associated Types

type StorageT Camera Source #

Component CameraTarget Source # 
Instance details

Defined in Aztecs.Camera

Associated Types

type StorageT CameraTarget Source #

Component ChildState Source # 
Instance details

Defined in Aztecs.Hierarchy

Associated Types

type StorageT ChildState Source #

Component Children Source # 
Instance details

Defined in Aztecs.Hierarchy

Associated Types

type StorageT Children Source #

Component Parent Source # 
Instance details

Defined in Aztecs.Hierarchy

Associated Types

type StorageT Parent Source #

Component ParentState Source # 
Instance details

Defined in Aztecs.Hierarchy

Associated Types

type StorageT ParentState Source #

Component KeyboardInput Source # 
Instance details

Defined in Aztecs.Input

Associated Types

type StorageT KeyboardInput Source #

Component MouseInput Source # 
Instance details

Defined in Aztecs.Input

Associated Types

type StorageT MouseInput Source #

Component Time Source # 
Instance details

Defined in Aztecs.Time

Associated Types

type StorageT Time Source #

Component Window Source # 
Instance details

Defined in Aztecs.Window

Associated Types

type StorageT Window Source #

Typeable a => Component (AssetServer a) Source # 
Instance details

Defined in Aztecs.Asset.AssetServer

Associated Types

type StorageT (AssetServer a) Source #

Component (Size (V2 Int)) Source # 
Instance details

Defined in Aztecs.Transform

Associated Types

type StorageT (Size (V2 Int)) Source #

Component (Transform (V2 Int) Int) Source # 
Instance details

Defined in Aztecs.Transform

Associated Types

type StorageT (Transform (V2 Int) Int) Source #

newtype ComponentID Source #

Component ID.

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.8.0-5YWGoxTs0Vw9iciqZAe9GO" 'True) (C1 ('MetaCons "ComponentID" 'PrefixI 'True) (S1 ('MetaSel ('Just "unComponentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))