Skip to main content

Class: abstract Component

Defined in: ecs/types/Component.ts:8

Represents a component in the Entity-Component-System (ECS) architecture. Each component has a unique id represented by a symbol.

Extended by

Constructors

Constructor

new Component(): Component

Returns

Component

Accessors

id

Get Signature

get static id(): symbol

Defined in: ecs/types/Component.ts:12

The unique id of the component.

Returns

symbol