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:Name | Type | Default value |
---|---|---|
callback | System | - |
priority | number | 0 |
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:Name | Type |
---|---|
callback | System |
Returns: boolean
Defined in: libs/core/src/lib/SystemsManager.ts:20
#
sortâ–¸ Protected
sort(): void
Returns: void
Defined in: libs/core/src/lib/SystemsManager.ts:11
#
updateâ–¸ update(dt
: number): void
#
Parameters:Name | Type |
---|---|
dt | number |
Returns: void
Defined in: libs/core/src/lib/SystemsManager.ts:34