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