Class World<ContextType>

The World is a self-contained entity component system for a particular context.

Type Parameters

  • ContextType

Hierarchy

  • World

Constructors

  • The context type is passed to the system updates

    Type Parameters

    • ContextType

    Parameters

    • context: ContextType

    Returns World<ContextType>

Properties

context: ContextType
entityManager: EntityManager<ContextType> = ...
queryManager: QueryManager = ...
systemManager: SystemManager<ContextType> = ...

Methods