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

21 lines
419 B
C#

using System.Collections.Generic;
namespace DunGen
{
public sealed class DungeonGraphNode : DungeonGraphObject
{
public List<DungeonGraphConnection> Connections = new List<DungeonGraphConnection>();
public Tile Tile { get; private set; }
public DungeonGraphNode(Tile tile)
{
Tile = tile;
}
internal void AddConnection(DungeonGraphConnection connection)
{
Connections.Add(connection);
}
}
}