Skip to main content

Class: TPhysicsSystem

Defined in: physics/physics-system.ts:14

Extends​

Constructors​

Constructor​

new TPhysicsSystem(world, events): TPhysicsSystem

Defined in: physics/physics-system.ts:20

Parameters​

world​

TWorld

events​

TEventQueue

Returns​

TPhysicsSystem

Overrides​

TSystem.constructor

Properties​

priority​

readonly priority: number = TSystemPriority.Update

Defined in: physics/physics-system.ts:16

Overrides​

TSystem.priority


systemName​

readonly static systemName: string = 'TPhysicsSystem'

Defined in: physics/physics-system.ts:15

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.

Overrides​

TSystem.systemName

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

Inherited from​

TSystem.name

Methods​

update()​

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

Defined in: physics/physics-system.ts:36

Parameters​

engine​

TEngine

world​

TWorld

delta​

number

Returns​

Promise<void>

Overrides​

TSystem.update