IContainer<TState>

Interface

Namespace: Ignis

Base types:

Declared in: Ignis


Describes an ECS container which incapsulates an entity manager, systems, components and their storage. Basically it's a dependency injection container with ECS-specific additions where every object is a singleton. There is two types of members available - 'builder' methods (AddSystem, AddComponent, Register, etc.) and regular members that can be used after Build() has been called. The systems will be called in order they've been registered with.

Type parameters

TState

Type of state parameter that gets passed to systems.

Members

Property

  • EntityManager
  • Method

  • AddComponent<TComponent, TStorage>()
  • AddComponent<TComponent>()
  • AddSystem<TInterface, TSystem>()
  • AddSystem<TSystem>()
  • Build()
  • ExecuteSystems(TState)
  • GetComponentTypes()
  • GetStorageFor(Type)
  • GetStorageFor<T>()
  • GetSystem(Type)
  • GetSystem<T>()
  • GetSystemTypes()
  • InitializeSystems(TState)
  • IsBuilt()
  • Register(Type, Type)
  • Register(Type)
  • Register<T>()
  • Register<TInterface, TImpl>()
  • Resolve(Type)
  • Resolve<TInterface>()

  • Back to index