UpdateablesManager
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Private Members | ||
private |
|
|
private |
|
|
private |
|
|
private |
_updateables: *[] |
|
private |
|
|
private |
_webWorker: * |
|
private |
|
Method Summary
Public Methods | ||
public |
register(updateable: *) |
Private Methods | ||
private |
|
|
private |
_init() |
|
private |
|
|
private |
|
|
private |
_update(dt: *) |
|
private |
_updateRAFTime(time: *) |
|
private |
_updateWorkerTime(time: *) |
Public Constructors
public constructor() source
Private Members
private _previousRAFTime: * source
private _previousWorkerTime: * source
private _updateables: *[] source
private _webWorker: * source
Public Methods
public register(updateable: *) source
Params:
Name | Type | Attribute | Description |
updateable | * |
Private Methods
private _gainedVisibility() source
private _init() source
private _initWebWorker() source
private _lostVisibility() source
private _update(dt: *) source
Params:
Name | Type | Attribute | Description |
dt | * |
private _updateRAFTime(time: *) source
Params:
Name | Type | Attribute | Description |
time | * |
private _updateWorkerTime(time: *) source
Params:
Name | Type | Attribute | Description |
time | * |