diff --git a/src/EcsGraph.cs b/src/EcsGraph.cs index 46026dd..3090133 100644 --- a/src/EcsGraph.cs +++ b/src/EcsGraph.cs @@ -37,7 +37,7 @@ namespace DCFApixels.DragonECS public short WorldID { [MethodImpl(MethodImplOptions.AggressiveInlining)] - get { return _world.id; } + get { return _world.ID; } } public EcsWorld GraphWorld { @@ -47,7 +47,7 @@ namespace DCFApixels.DragonECS public short GraphWorldID { [MethodImpl(MethodImplOptions.AggressiveInlining)] - get { return _graphWorld.id; } + get { return _graphWorld.ID; } } public int Count { diff --git a/src/EcsGraphExtensions.cs b/src/EcsGraphExtensions.cs index afb3d39..53f3652 100644 --- a/src/EcsGraphExtensions.cs +++ b/src/EcsGraphExtensions.cs @@ -9,7 +9,7 @@ namespace DCFApixels.DragonECS public static EcsGraph CreateGraph(this EcsWorld self, EcsWorld graphWorld) { - int worldID = self.id; + int worldID = self.ID; if (_worldGraphs.Length <= worldID) { Array.Resize(ref _worldGraphs, worldID + 4); @@ -21,13 +21,13 @@ namespace DCFApixels.DragonECS } graph = new EcsGraph(self, graphWorld); new Destroyer(graph); - _worldGraphs[graphWorld.id] = graph; + _worldGraphs[graphWorld.ID] = graph; return graph; } public static EcsGraph CreateOrGetGraph(this EcsWorld self, EcsWorld graphWorld) { - int worldID = self.id; + int worldID = self.ID; if (_worldGraphs.Length <= worldID) { Array.Resize(ref _worldGraphs, worldID + 4); @@ -39,13 +39,13 @@ namespace DCFApixels.DragonECS } graph = new EcsGraph(self, graphWorld); new Destroyer(graph); - _worldGraphs[graphWorld.id] = graph; + _worldGraphs[graphWorld.ID] = graph; return graph; } public static bool TryGetGraph(this EcsWorld self, out EcsGraph graph) { - int worldID = self.id; + int worldID = self.ID; if (_worldGraphs.Length <= worldID) { Array.Resize(ref _worldGraphs, worldID + 4);