| 123456789101112131415161718192021 |
- 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);
- }
- }
- }
|