Перейти к основному содержанию

EcsEntityManager

@since

2.3.1b115

Index

Properties

INVALID_ENTITY

INVALID_ENTITY: number

TAG

TAG: Object

Methods

createEntity

  • createEntity(): number
  • Returns number

detachEntity

extend

getComponent

  • getComponent(entity: number, index: number): any
  • Parameters

    • entity: number
    • index: number

    Returns any

getComponents

  • getComponents(entity: number, query: EcsQuery): any[]
  • Parameters

    Returns any[]

performQuery

performVariadicQuery

removeAllEntitiesWithComponents

  • removeAllEntitiesWithComponents(query: EcsQuery): void

removeEntity

  • removeEntity(entity: number): void
  • Parameters

    • entity: number

    Returns void

shrink