2023-03-10 16:41:22 +11:00
|
|
|
namespace Content.Shared.Procedural;
|
|
|
|
|
|
|
|
|
|
public sealed class Dungeon
|
|
|
|
|
{
|
2023-04-20 10:43:13 +10:00
|
|
|
/// <summary>
|
|
|
|
|
/// Starting position used to generate the dungeon from.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Vector2i Position;
|
|
|
|
|
|
|
|
|
|
public Vector2i Center;
|
|
|
|
|
|
2023-03-10 16:41:22 +11:00
|
|
|
public List<DungeonRoom> Rooms = new();
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Hashset of the tiles across all rooms.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public HashSet<Vector2i> RoomTiles = new();
|
|
|
|
|
}
|