LethalCompany/Lethal Company/ExportedProject/Assets/Scripts/Assembly-CSharp/DunGen/DungeonGraphConnection.cs

24 lines
528 B
C#
Raw Normal View History

2023-12-22 22:51:17 +00:00
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);
}
}
}