Mirror of Svelto.ECS because we're a fan of it
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
421B

  1. namespace Svelto.ECS
  2. {
  3. public abstract class SingleEntityViewEngine<T> : IHandleEntityStructEngine<T> where T : class, IEntityStruct
  4. {
  5. public void AddInternal(ref T entityView)
  6. { Add(entityView); }
  7. public void RemoveInternal(ref T entityView)
  8. { Remove(entityView); }
  9. protected abstract void Add(T entityView);
  10. protected abstract void Remove(T entityView);
  11. }
  12. }