Class: SpeedComponent
Defined in: common/components/speed-component.ts:6
Component to track an entities speed.
Implements
Constructors
Constructor
new SpeedComponent(
speed):SpeedComponent
Defined in: common/components/speed-component.ts:16
Creates an instance of SpeedComponent.
Parameters
speed
number
the entity's speed
Returns
SpeedComponent
Properties
name
name:
symbol
Defined in: common/components/speed-component.ts:7
The unique name of the component.
Implementation of
speed
speed:
number
Defined in: common/components/speed-component.ts:8
symbol
readonlystaticsymbol: typeofsymbol
Defined in: common/components/speed-component.ts:10