ForeignChildInteractor
Interacts with a ForeignInteractor as a parent.
Constructor Summary
Public Constructor | ||
public |
constructor(instanceId: string, tickTimeout: number) Creates a ForeignChildInteractor based of a primary interactor. |
Method Summary
Public Methods | ||
public |
getDelta(key: strin) Obtains the last write delta. |
|
public |
Queues an async tick |
|
public |
tick() Performs update. |
|
public |
Watches a key w/ a registered callback |
|
public |
Called on a new tick |
Public Constructors
Public Methods
public getDelta(key: strin) source
Obtains the last write delta.
Params:
Name | Type | Attribute | Description |
key | strin | key to get delta for |
public queueTick(time: number) source
Queues an async tick
Params:
Name | Type | Attribute | Description |
time | number | Time to issue next tick |