Namespace GameObjectRegistry

Functions

  • Internal

    Puts game object as active, but without adding as updatable, which has been achieved by calling GameObject.deploy.

    Parameters

    Returns void

  • Internal

    Suffixes game object type if it already registered.

    Parameters

    • name: string

    Returns string

  • Internal

    Clears active game object list, maintaining updatable states.

    Returns void

Variables

activeGameObjects: {
    [type: string]: GameObject<any>;
}

Game objects which are deployed via GameObject.deploy or internally via GameObjectRegistry.deployGameObject and GameObjectRegistry.addGameObject.

gameObjectTypes: {
    [gameobjectName: string]: GameObject<any>;
}

Game objects which are registered via GameObject.constructor or internally via GameObjectRegistry.registerClass.

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