Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace GameObjectRegistry

Index

Functions

  • callForType(type: string, func: string, ...params: any): any
  • callForTypeSafe(type: string, func: string, ...params: any): any
  • getAllByType(type: string, clone: boolean): GameObject[]
  • Gets an array of GameObjects of specified type.

    Parameters

    • type: string

      unique GameObject type to get all the instances of

    • clone: boolean

      if true, a new array is created to ensure the original engine's data safety

    Returns GameObject[]

Generated using TypeDoc