Esempio n. 1
0
 public Door(
     Dimentions dimentions,
     int floor,
     string color
     )
 {
     this.dimentions = dimentions;
     this.floor      = floor;
     this.color      = color;
 }
Esempio n. 2
0
 public Window(
     Dimentions dimentions,
     int floor,
     string material
     )
 {
     this.dimentions = dimentions;
     this.floor      = floor;
     this.material   = material;
 }
Esempio n. 3
0
        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));
        }
Esempio n. 4
0
        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));
        }