Files
tbd-station-14/Content.Shared/Procedural/DungeonRoom.cs
2023-06-27 19:17:42 +10:00

12 lines
356 B
C#

namespace Content.Shared.Procedural;
public sealed record DungeonRoom(HashSet<Vector2i> Tiles, Vector2 Center, Box2i Bounds, HashSet<Vector2i> Exterior)
{
public List<Vector2i> Entrances = new();
/// <summary>
/// Nodes adjacent to tiles, including the corners.
/// </summary>
public readonly HashSet<Vector2i> Exterior = Exterior;
}