24 lines
No EOL
578 B
C#
24 lines
No EOL
578 B
C#
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; }
|
|
}
|
|
} |