Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface GameObjectPrototype

Hierarchy

Indexable

[key: string]: any

Any other user-defined methods and properties

Index

Properties

Optional init

init: (...args: any) => void

Function that is called when a new instance of GameObject is created, the engine passes all the arguments of GameObject.deploy function to this function

Type declaration

    • (...args: any): void
    • Parameters

      • Rest ...args: any

      Returns void

Optional loaded

loaded: () => void

Function that is called when a GameObject is loaded

Type declaration

    • (): void
    • Returns void

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

Methods

addUpdatable

getAll

getSyncTime

  • getSyncTime(): number

Generated using TypeDoc