* haunted dungeon * Initial work Still needs prefab gen work to make it interesting. * ime a worm * weh * Work * Slight tweaks --------- Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
14 lines
389 B
C#
14 lines
389 B
C#
using System.Numerics;
|
|
|
|
namespace Content.Shared.Procedural;
|
|
|
|
public sealed record DungeonRoom(HashSet<Vector2i> Tiles, Vector2 Center, Box2i Bounds, HashSet<Vector2i> Exterior)
|
|
{
|
|
public readonly List<Vector2i> Entrances = new();
|
|
|
|
/// <summary>
|
|
/// Nodes adjacent to tiles, including the corners.
|
|
/// </summary>
|
|
public readonly HashSet<Vector2i> Exterior = Exterior;
|
|
}
|