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

EcsActionQueue

@since

2.3.1b115

Index

Constructors

constructor

Methods

addComponent

  • addComponent(entity: number, type: string | number, value: any): EcsActionQueue
  • addComponent(entity: number, type: Class<any>, value: any): EcsActionQueue
  • Parameters

    • entity: number
    • type: string | number
    • value: any

    Returns EcsActionQueue

clear

  • clear(): void
  • Returns void

createEntity

  • createEntity(): number
  • Returns number

extend

flush

  • flush(): void
  • Returns void

flushNoClear

  • flushNoClear(): void
  • Does flush() and clear() at same time.


    Returns void

getEntityCount

  • getEntityCount(): number
  • Returns number

removeComponent

removeEntity

reserve

  • reserve(entityCount: number): void
  • Parameters

    • entityCount: number

    Returns void

shrink