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