Constructs a new GameObject with given params.
unique name for the game object type. Use package-like names to ensure your game object name is unique
Creates a new game object with specified params and registers it for saving and as an Updatable.
Rest
...args: anyany arguments that are passed to GameObjectPrototype.init function
Instantiated game object.
Internal
Creates a new game object without deploying it; you are shouldn't do it normally, it was called by GameObject.deploy.
Instantiated game object.
Readonly
gameobjectSame as GameObject.originalName, but with suffix which are used for object saving to be unique.
Readonly
istrue
if current object was deployed or added directly.
Readonly
istrue
if current object is instance, prototype otherwise.
Readonly
originalOriginal value passed to GameObject.constructor as type.
Readonly
Internal
PrototypePrototype from which instantiated objects are created.
Readonly
Internal
saverUsed when Saver.registerObject calling inside.
Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.
Class used to create and manipulate game objects. Game objects are Updatables that are being saved between game launches.