Skip to main content

Class: InputsComponent

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

Component that provides access to the InputManager for an entity.

Extends

Constructors

Constructor

new InputsComponent(inputManager): InputsComponent

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

Creates a new InputsComponent.

Parameters

inputManager

InputManager

The InputManager instance to associate with this component.

Returns

InputsComponent

Overrides

Component.constructor

Properties

inputManager

readonly inputManager: InputManager

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

The InputManager instance.

Accessors

id

Get Signature

get static id(): symbol

Defined in: ecs/types/Component.ts:12

The unique id of the component.

Returns

symbol

Inherited from

Component.id