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

22 lines
419 B
C#
Raw Normal View History

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