Class: AgeScaleComponent
Defined in: common/components/age-scale-component.ts:6
Component to track how an entity's scale changes with age over its lifetime
Extends
Constructors
Constructor
new AgeScaleComponent(
originalScaleX,originalScaleY,finalLifetimeScaleX,finalLifetimeScaleY):AgeScaleComponent
Defined in: common/components/age-scale-component.ts:19
Creates an instance of the AgeScaleComponent.
Parameters
originalScaleX
number
The original x scale of the entity.
originalScaleY
number
The original y scale of the entity.
finalLifetimeScaleX
number
The final x scale the entity will have at the end of its lifetime
finalLifetimeScaleY
number
The final y scale the entity will have at the end of its lifetime
Returns
AgeScaleComponent
Overrides
Properties
finalLifetimeScaleX
finalLifetimeScaleX:
number
Defined in: common/components/age-scale-component.ts:9
finalLifetimeScaleY
finalLifetimeScaleY:
number
Defined in: common/components/age-scale-component.ts:10
originalScaleX
originalScaleX:
number
Defined in: common/components/age-scale-component.ts:7
originalScaleY
originalScaleY:
number
Defined in: common/components/age-scale-component.ts:8
Accessors
id
Get Signature
get
staticid():symbol
Defined in: ecs/types/Component.ts:12
The unique id of the component.
Returns
symbol