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.

IEngineNodeDB.cs 596B

8 years ago
8 years ago
8 years ago
12345678910111213141516171819
  1. using Svelto.DataStructures;
  2. namespace Svelto.ECS
  3. {
  4. public interface IEngineNodeDB
  5. {
  6. ReadOnlyDictionary<int, INode> QueryIndexableNodes<T>() where T:INode;
  7. bool QueryNode<T>(int ID, out T node) where T:INode;
  8. T QueryNode<T>(int ID) where T:INode;
  9. FasterReadOnlyListCast<INode, T> QueryNodes<T>() where T:INode;
  10. bool QueryNodeFromGroup<T>(int ID, out T node) where T : INode;
  11. T QueryNodeFromGroup<T>(int ID) where T : INode;
  12. FasterReadOnlyListCast<INode, T> QueryNodesFromGroups<T>() where T : INode;
  13. }
  14. }