Exemplo n.º 1
0
 public static void set(int x, int y, tile t)
 {
     set(getc(x, y), t);
 }
Exemplo n.º 2
0
 public static void init()
 {
     tileArray = new tile[width * height];
     for (int i = 0; i < tileArray.Length; i++)
     {
         tileArray[i] = new tile();
         tileArray[i].id = i;
     }
 }
Exemplo n.º 3
0
 public static void set(int n, tile t)
 {
     tileArray[n] = t;
     tileArray[n].id = n;
 }
Exemplo n.º 4
0
 private void SpreadTo(Random r, int l, tile t)
 {
     t.ascii = this.ascii;
     t.forecolor = this.forecolor;
     t.backcolor = this.backcolor;
     t.type = this.type;
     t.Spread(r, l);
 }