Implemented randomly dispersing monster rooms.

This commit is contained in:
Max 2025-02-03 17:46:12 +01:00
parent 5895a9f878
commit 9c02b11299
12 changed files with 394 additions and 0 deletions

View file

@ -0,0 +1,24 @@
namespace DungeonGenerator
{
public enum RoomType
{
Normal,
Monster,
}
public class Room
{
public Room(RoomType roomType, int width, int height, Point positionOfTopLeft)
{
TypeOfRoom = roomType;
Width = width;
Height = height;
PositionOfTopLeft = positionOfTopLeft;
}
public RoomType TypeOfRoom { get; set; }
public int Height { get; set; }
public int Width { get; set; }
public Point PositionOfTopLeft { get; set; }
}
}