Skip to main content

Class: InputsComponent

Defined in: input/components/inputs-component.ts:4

Represents a component in the Entity-Component-System (ECS) architecture. Each component has a unique name represented by a symbol.

Implements

Constructors

Constructor

new InputsComponent(inputManager): InputsComponent

Defined in: input/components/inputs-component.ts:11

Parameters

inputManager

InputManager

Returns

InputsComponent

Properties

inputManager

readonly inputManager: InputManager

Defined in: input/components/inputs-component.ts:7


name

readonly name: symbol

Defined in: input/components/inputs-component.ts:5

The unique name of the component.

Implementation of

Component.name


symbol

readonly static symbol: typeof symbol

Defined in: input/components/inputs-component.ts:9