Skip to main content

Class: FlipComponent

Defined in: common/components/flip-component.ts:6

Component to flip an entity's rendering in the x or y direction

Implements

Constructors

Constructor

new FlipComponent(flipX, flipY): FlipComponent

Defined in: common/components/flip-component.ts:18

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

Properties

flipX

flipX: boolean

Defined in: common/components/flip-component.ts:8


flipY

flipY: boolean

Defined in: common/components/flip-component.ts:9


name

name: symbol

Defined in: common/components/flip-component.ts:7

The unique name of the component.

Implementation of

Component.name


symbol

readonly static symbol: typeof symbol

Defined in: common/components/flip-component.ts:11