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