mirror of
https://github.com/DCFApixels/DragonECS-Graphs.git
synced 2025-09-17 19:24:36 +08:00
15 lines
483 B
C#
15 lines
483 B
C#
namespace DCFApixels.DragonECS
|
|
{
|
|
public readonly struct RelationTargets
|
|
{
|
|
public static readonly RelationTargets Empty = new RelationTargets();
|
|
public readonly int entity;
|
|
public readonly int otherEntity;
|
|
public RelationTargets(int entity, int otherEntity)
|
|
{
|
|
this.entity = entity;
|
|
this.otherEntity = otherEntity;
|
|
}
|
|
public override string ToString() => $"rel({entity}, {otherEntity})";
|
|
}
|
|
} |