22 lines
419 B
C#
22 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);
|
||
|
}
|
||
|
}
|
||
|
}
|