public static void set(int x, int y, tile t) { set(getc(x, y), t); }
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; } }
public static void set(int n, tile t) { tileArray[n] = t; tileArray[n].id = n; }
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); }