Options
All
  • Public
  • Public/Protected
  • All
Menu

External module ecs

Type aliases

ComponentManagerMap

ComponentManagerMap<T>: ComponentManagerMap<T>

Map of managers to their respective manager types.

Type parameters

  • T

ComponentMap

ComponentMap: Record<componentName, unknown>

Basic type for a componentName => type Record.

ComponentOperation

ComponentOperation<T>: object | object

Type parameters

  • T

ComponentSubMap

ComponentSubMap<T, L>: object

Map containing a subset of the total properties.

Type parameters

Type declaration

EntityPoolOptions

EntityPoolOptions: object

Options to be used by the pool.

Type declaration

  • entityIndexBits: number
  • minimumUnusedTime: number

ExtractComponentMap

ExtractComponentMap<T>: ExtractComponentMap<T>

Extract the underlying ComponentMap from a ComponentManagerMap type.

Type parameters

  • T

ExtractManagerType

ExtractManagerType<T>: ExtractManagerType<T>

Extract the underlyign type of any manager.

Type parameters

  • T

componentName

componentName: string | number

Possible types for names of components.

Object literals

Const defaultEcsOptions

defaultEcsOptions: object

Default options for the EntityPool.

entityIndexBits

entityIndexBits: number = 23

minimumUnusedTime

minimumUnusedTime: number = 256

Generated using TypeDoc