LethalCompany/Lethal Company/ExportedProject/Assets/Scripts/Assembly-CSharp/DunGen/DungeonGraphConnection.cs
2023-12-22 18:30:10 -05:00

23 lines
528 B
C#

namespace DunGen
{
public sealed class DungeonGraphConnection : DungeonGraphObject
{
public DungeonGraphNode A { get; private set; }
public DungeonGraphNode B { get; private set; }
public Doorway DoorwayA { get; private set; }
public Doorway DoorwayB { get; private set; }
public DungeonGraphConnection(DungeonGraphNode a, DungeonGraphNode b, Doorway doorwayA, Doorway doorwayB)
{
A = a;
B = b;
DoorwayA = doorwayA;
DoorwayB = doorwayB;
a.AddConnection(this);
b.AddConnection(this);
}
}
}