Skip to main content

Interface: Updateable

components.Updateable

Whether this component should be updated each frame.

Implemented by

Properties

afterUpdate

afterUpdate: Event<any>

Actions that should be executed after updating the component.

Defined in

temp/components/base-types/base-types.ts:99


beforeUpdate

beforeUpdate: Event<any>

Actions that should be executed before updating the component.

Defined in

temp/components/base-types/base-types.ts:102

Methods

update

update(delta?): void

Function used to update the state of this component each frame. For instance, a renderer component will make a render each frame.

Parameters

NameType
delta?number

Returns

void

Defined in

temp/components/base-types/base-types.ts:108