GameObjectPrototype
Hierarchy
- Updatable
- GameObjectPrototype
Index
Properties
optionalinit
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
Parameters
rest...args: any
Returns void
optionalloaded
optionalremove
Once true
, the object will be removed from updatables list and will no
longer receive update calls.
update
Called every tick.
Type declaration
Returns void
Updatable is an object that is notified every tick via it's Updatable.update method call.