Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Updatable

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

Hierarchy

Indexable

[key: string]: any

Any other user-defined methods and properties

Index

Properties

Optional remove

remove: boolean

Once true, the object will be removed from updatables list and will no longer receive update calls

update

update: () => void

Called every tick

Type declaration

    • (): void
    • Returns void

Functions

addUpdatable

getAll

getSyncTime

  • getSyncTime(): number

Generated using TypeDoc