public Door( Dimentions dimentions, int floor, string color ) { this.dimentions = dimentions; this.floor = floor; this.color = color; }
public Window( Dimentions dimentions, int floor, string material ) { this.dimentions = dimentions; this.floor = floor; this.material = material; }
public void AddDoor(double height, double width, int floor, string color) { Dimentions dimentions = new Dimentions(height, width); this.doorsList.Add(new Door(dimentions, floor, color)); }
public void AddWindow(double height, double width, int floor, string material) { Dimentions dimentions = new Dimentions(height, width); this.windowsList.Add(new Window(dimentions, floor, material)); }