Class GameObject<T>

Class used to create and manipulate game objects. Game objects are Updatables that are being saved between game launches.

Type Parameters

Constructors

Methods

Properties

gameobjectName: string

Same as GameObject.originalName, but with suffix which are used for object saving to be unique.

isDeployed: boolean

true if current object was deployed or added directly.

isInstance: boolean

true if current object is instance, prototype otherwise.

originalName: string

Original value passed to GameObject.constructor as type.

Prototype: T

Prototype from which instantiated objects are created.

saverId: number

Used when Saver.registerObject calling inside.

Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.