Manages the creation of entities for one world.

It glues together:

  • Loding resources accordning to EntityDefinition instances
  • Discovers possible state of entitiy configuration
    • All components there?
    • All required resources are loaded?
    • Do we need resources for children?
  • Instantiates the objects for the world (new Component, new Entity, ...)

Hierarchy

  • EntityFactory

Constructors

Properties

_linkedDefinitions: Record<string, LinkedEntityDefinition> = {}
_linker: EntityLinker = ...
_nextEntityId: number = 1
_propertyParser: Record<string, PropertyParser> = {}
_resourceManager: ResourceManager
_world: World

Methods

Generated using TypeDoc