Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • CT

Hierarchy

  • default

Index

Constructors

Properties

Accessors

Constructors

constructor

Properties

world

world: default<CT>

Accessors

entities

  • Create an array of DevEntites. Can be very helpful for things like inspecting component state, and which systems will be called on an entity.

    example
    console.table(world.dev.entities);
    
    // Pro tip! try displaying a table of entities with console.table and DevEntity.toTableRow().
    console.table(world.dev.entities.map(devEntity => devEntity.toTableRow()));
    

    Returns default<CT>[]

systemComponents

  • get systemComponents(): DevSystemComps[]
  • display the all systems of the world, and the components required by each system. Super helpful to use with console.table()

    example
    console.table(world.dev.systemComponents);
    

    Returns DevSystemComps[]

Generated using TypeDoc