Class: SpeedComponent
Defined in: common/components/speed-component.ts:6
Component to track an entities speed.
Extends
Constructors
Constructor
new SpeedComponent(
speed):SpeedComponent
Defined in: common/components/speed-component.ts:13
Creates an instance of SpeedComponent.
Parameters
speed
number
the entity's speed
Returns
SpeedComponent
Overrides
Properties
speed
speed:
number
Defined in: common/components/speed-component.ts:7
Accessors
id
Get Signature
get
staticid():symbol
Defined in: ecs/types/Component.ts:12
The unique id of the component.
Returns
symbol