Skip to main content

Constructors

constructor#

+ new SystemsManager(): SystemsManager

Returns: SystemsManager

Defined in: libs/core/src/lib/SystemsManager.ts:5

Properties#

systems#

systems: SystemEntry[]

Defined in: libs/core/src/lib/SystemsManager.ts:5

Methods#

add#

add(callback: System, priority?: number): void

Parameters:#

NameTypeDefault value
callbackSystem-
prioritynumber0

Returns: void

Defined in: libs/core/src/lib/SystemsManager.ts:15


clear#

clear(): void

Returns: void

Defined in: libs/core/src/lib/SystemsManager.ts:30


remove#

remove(callback: System): boolean

Parameters:#

NameType
callbackSystem

Returns: boolean

Defined in: libs/core/src/lib/SystemsManager.ts:20


sort#

Protectedsort(): void

Returns: void

Defined in: libs/core/src/lib/SystemsManager.ts:11


update#

update(dt: number): void

Parameters:#

NameType
dtnumber

Returns: void

Defined in: libs/core/src/lib/SystemsManager.ts:34