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
AnimationComponentSpriteAnimationComponentParticleComponentParticleEmitterComponentAudioComponentPositionComponentRotationComponentScaleComponentFlipComponentSpeedComponentAgeScaleComponentInputsComponentLifetimeComponentRemoveFromWorldStrategyComponentReturnToPoolStrategyComponentPhysicsBodyComponentCameraComponentSpriteComponentRenderLayerComponentTimerComponent
Constructors
Constructor
new Component():
Component
Returns
Component
Accessors
id
Get Signature
get
staticid():symbol
Defined in: ecs/types/Component.ts:12
The unique id of the component.
Returns
symbol