Class: FlipComponent
Defined in: common/components/flip-component.ts:6
Component to flip an entity's rendering in the x or y direction
Extends
Constructors
Constructor
new FlipComponent(
flipX,flipY):FlipComponent
Defined in: common/components/flip-component.ts:15
Creates an instance of FlipComponent.
Parameters
flipX
boolean = false
Whether to flip the entity in the x direction.
flipY
boolean = false
Whether to flip the entity in the y direction.
Returns
FlipComponent
Overrides
Properties
flipX
flipX:
boolean
Defined in: common/components/flip-component.ts:7
flipY
flipY:
boolean
Defined in: common/components/flip-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