Esempio n. 1
0
 public House()
 {
     basement = new Basement();
     roof     = new Roof();
     door     = new Door();
     walls    = new Wall[4];
     windows  = new Window[4];
     for (int i = 0; i < 4; ++i)
     {
         walls[i]   = new Wall();
         windows[i] = new Window();
     }
 }
Esempio n. 2
0
 public House()
 {
     basement = new Basement();
     roof = new Roof();
     door = new Door();
     walls = new Wall[4];
     windows = new Window[4];
     for (int i = 0; i < 4; ++i)
     {
         walls[i] = new Wall();
         windows[i] = new Window();
     }
 }