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