Skip to main content

Abstract Class: TSystem

Defined in: core/system.ts:11

Extended by​

Constructors​

Constructor​

new TSystem(): TSystem

Returns​

TSystem

Properties​

priority​

readonly priority: number = TSystemPriority.Update

Defined in: core/system.ts:12


systemName​

readonly static systemName: string = 'TSystem'

Defined in: core/system.ts:18

The name of the system. This is used for debugging and segment timing. Override this static property in subclasses to provide a meaningful name that won't be minified.

Accessors​

name​

Get Signature​

get name(): string

Defined in: core/system.ts:24

The name of the system. This is used for debugging and segment timing. Returns the static systemName property to avoid minification issues.

Returns​

string

Methods​

update()​

abstract update(engine, world, delta): Promise<void>

Defined in: core/system.ts:28

Parameters​

engine​

TEngine

world​

TWorld

delta​

number

Returns​

Promise<void>