Updatable
Index
Functions
addAnimator
Adds object to updatables list, that ticks on client thread and never saves.
Parameters
updatable: Updatable
object to be added to updatables list
Returns void
addLocalUpdatable
Adds object to updatables list, that ticks on client thread and never saves.
Parameters
updatable: Updatable
object to be added to updatables list
Returns void
addUpdatable
Adds object to updatables list.
Parameters
updatable: Updatable
object to be added to updatables list
Returns void
getAll
getAllLocal
getLocalSyncTime
Returns number
Current client-side thread tick number.
getSyncTime
Returns number
Current server-side thread tick number.
Module used to create and manage Updatables. Updatables provide the proper way to manage objects that update their state every tick. Updatables may not be notified every tick, if there are too many, to avoid user interface freezes.