fix argument names

This commit is contained in:
Mikhail 2023-06-23 01:52:51 +08:00
parent 4743f14791
commit 4e10ec71e9

View File

@ -157,7 +157,7 @@ namespace DCFApixels.DragonECS
public bool HasRelation(int entityID, int otherEntityID) => _source.HasRelation(entityID, otherEntityID); public bool HasRelation(int entityID, int otherEntityID) => _source.HasRelation(entityID, otherEntityID);
public int GetRelation(int entityID, int otherEntityID) => _source.GetRelation(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 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 public readonly struct ReverseOrientation
{ {
@ -168,7 +168,7 @@ namespace DCFApixels.DragonECS
public bool HasRelation(int otherEntityID, int entityID) => _source.HasRelation(entityID, otherEntityID); public bool HasRelation(int otherEntityID, int entityID) => _source.HasRelation(entityID, otherEntityID);
public int GetRelation(int otherEntityID, int entityID) => _source.GetRelation(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 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 public struct RelationsSpan