Beispiel #1
0
 public void setBrick(int offset, MapSite site)
 {
     if (offset < Bricks.Length)
     {
         Bricks[offset] = site;
     }
 }
 public Wall(int size)
 {
     Bricks = new MapSite[size];
     for (int i = 0; i < size; i++)
     {
         Bricks[i] = new MapSite();
     }
 }
Beispiel #3
0
 public Wall(int size)
 {
     Bricks = new MapSite[size];
     for (int i = 0; i < size; i++)
     {
         Bricks[i] = new MapSite();
     }
 }
 public void setBrick(int offset, MapSite site)
 {
     if(offset < Bricks.Length)
     Bricks[offset] = site;
 }