DoubleListStorage<T>

Class

Namespace: Ignis.Storage

Base types:

Declared in: Ignis.Storage


A component storage implemented by using two lists - one for entity IDs and one for component values. It's a default implementation when specific storage type is not supplied.

Type parameters

T

Component type

Members

Constructor

  • DoubleListStorage()
  • Method

  • ForEach<TState>(Action<int, T, TState>, TState)
  • Get(int)
  • GetCount()
  • GetEntityIds()
  • GetValue(int)
  • GetValues()
  • GetView()
  • Process(Func<int, T, T>)
  • Process<TState>(Func<int, T, TState, T>, TState)
  • Read<TState>(ComponentReader<T, TState>, TState)
  • RemoveComponentFromStorage(int)
  • StoreComponentForEntity(int)
  • Update(int, object)
  • Update(int, T)
  • UpdateCurrent(T)
  • See also

  • Ignis.IContainer<TState>.AddComponent{TComponent}
  • Ignis.IContainer<TState>.AddComponent{TComponent, TStorage}

  • Back to index