From f386ab4937c706084fd83285f9eafb1cab44c5d6 Mon Sep 17 00:00:00 2001 From: sebas77 Date: Mon, 2 Dec 2019 10:41:14 +0000 Subject: [PATCH] remove unused file --- Svelto.ECS/EntityGroup.cs | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 Svelto.ECS/EntityGroup.cs diff --git a/Svelto.ECS/EntityGroup.cs b/Svelto.ECS/EntityGroup.cs deleted file mode 100644 index b12c1a9..0000000 --- a/Svelto.ECS/EntityGroup.cs +++ /dev/null @@ -1,29 +0,0 @@ -using System; -using Svelto.DataStructures; -using Svelto.ECS.Internal; - -namespace Svelto.ECS -{ - public struct EntityGroup - { - internal EntityGroup(FasterDictionary, ITypeSafeDictionary> entitiesInGroupPerType, uint _groupID) - { - _group = entitiesInGroupPerType; - groupID = _groupID; - } - - public ref T QueryEntity(uint entityGidEntityId) where T : struct, IEntityStruct - { - return ref (_group[new RefWrapper(typeof(T))] as TypeSafeDictionary).GetValueByRef( - entityGidEntityId); - } - - public bool Exists(uint entityGidEntityId) where T : struct, IEntityStruct - { - return (_group[new RefWrapper(typeof(T))] as TypeSafeDictionary).ContainsKey(entityGidEntityId); - } - - readonly FasterDictionary, ITypeSafeDictionary> _group; - public uint groupID; - } -} \ No newline at end of file