From 4e10ec71e9b32c5714a3e3d43648f3173d3c8912 Mon Sep 17 00:00:00 2001 From: Mikhail <99481254+DCFApixels@users.noreply.github.com> Date: Fri, 23 Jun 2023 01:52:51 +0800 Subject: [PATCH] fix argument names --- src/RelationManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/RelationManager.cs b/src/RelationManager.cs index ef9f677..3bf320c 100644 --- a/src/RelationManager.cs +++ b/src/RelationManager.cs @@ -157,7 +157,7 @@ namespace DCFApixels.DragonECS public bool HasRelation(int entityID, int otherEntityID) => _source.HasRelation(entityID, otherEntityID); public int GetRelation(int entityID, int otherEntityID) => _source.GetRelation(entityID, otherEntityID); public bool TryGetRelation(int entityID, int otherEntityID, out int relationEntityID) => _source.TryGetRelation(entityID, otherEntityID, out relationEntityID); - public IdsLinkedList.Span GetRelations(int relationEntityID) => _source._basket.GetSpanFor(relationEntityID); + public IdsLinkedList.Span GetRelations(int entityID) => _source._basket.GetSpanFor(entityID); } public readonly struct ReverseOrientation { @@ -168,7 +168,7 @@ namespace DCFApixels.DragonECS public bool HasRelation(int otherEntityID, int entityID) => _source.HasRelation(entityID, otherEntityID); public int GetRelation(int otherEntityID, int entityID) => _source.GetRelation(entityID, otherEntityID); public bool TryGetRelation(int otherEntityID, int entityID, out int relationEntityID) => _source.TryGetRelation(entityID, otherEntityID, out relationEntityID); - public IdsLinkedList.Span GetRelations(int relationEntityID) => _source._otherBasket.GetSpanFor(relationEntityID); + public IdsLinkedList.Span GetRelations(int otherEntityID) => _source._otherBasket.GetSpanFor(otherEntityID); } public struct RelationsSpan