Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • CachedView

Index

Constructors

constructor

Properties

Private componentStores

componentStores: ComponentStore[] = []

Private packedComponents

packedComponents: ComponentStore = new ComponentStore("#packed ")

Accessors

components

  • get components(): any[]

entities

  • get entities(): number[]

oncreate

  • set oncreate(f: (Entity: any, any: any) => void): void
  • Parameters

    • f: (Entity: any, any: any) => void
        • (Entity: any, any: any): void
        • Parameters

          • Entity: any
          • any: any

          Returns void

    Returns void

ondestroy

  • set ondestroy(f: (Entity: any, any: any) => void): void
  • Parameters

    • f: (Entity: any, any: any) => void
        • (Entity: any, any: any): void
        • Parameters

          • Entity: any
          • any: any

          Returns void

    Returns void

size

  • get size(): number

Methods

each

  • each(f: any): void
  • Parameters

    • f: any

    Returns void

eachComponent

  • eachComponent(f: any): void
  • Parameters

    • f: any

    Returns void

eachEntity

  • eachEntity(f: any): void
  • Parameters

    • f: any

    Returns void

injest

Legend

  • Constructor
  • Property
  • Method
  • Private property
  • Private method

Generated using TypeDoc