package core; public class Room { private int width; private int height; private Coordinates topLeft; private Coordinates topRight; private Coordinates bottomLeft; private Coordinates bottomRight; public Room(int width, int height, Coordinates topLeft, Coordinates topRight, Coordinates bottomLeft, Coordinates bottomRight) { this.width = width; this.height = height; this.topLeft = topLeft; this.topRight = topRight; this.bottomLeft = bottomLeft; this.bottomRight = bottomRight; } public int getWidth() { return width; } public int getHeight() { return height; } public Coordinates getBottomRight() { return bottomRight; } public Coordinates getTopLeft() { return topLeft; } public Coordinates getTopRight() { return topRight; } public Coordinates getBottomLeft() { return bottomLeft; } }