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.
InternalCreates a new game object without deploying it; you are shouldn't do it normally, it was called by GameObject.deploy.
Instantiated game object.
ReadonlygameobjectSame as GameObject.originalName, but with suffix which are used for object saving to be unique.
Readonlyistrue if current object was deployed or added directly.
Readonlyistrue if current object is instance, prototype otherwise.
ReadonlyoriginalOriginal value passed to GameObject.constructor as type.
Readonly InternalPrototypePrototype from which instantiated objects are created.
Readonly InternalsaverUsed 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.