Skip to main content

Class: TTopDownInputComponent

Defined in: input/top-down.ts:9

A component is a data structure that describes a property of an entity.

Extends​

Constructors​

Constructor​

new TTopDownInputComponent(): TTopDownInputComponent

Returns​

TTopDownInputComponent

Inherited from​

TComponent.constructor

Properties​

angle​

angle: number = 0

Defined in: input/top-down.ts:10


requiredComponents?​

readonly static optional requiredComponents?: TComponentConstructor<TComponent>[]

Defined in: core/component.ts:9

The components that are required by this component. If the entity doesn't have any of the components, they will be created with default values.

Inherited from​

TComponent.requiredComponents