private void putArray(int[,] Dest, int xo, int yo, ObjectDefTile[,] block, int width, int height, ref bool put) { for (int x = 0; x < block.GetLength(0); x++) for (int y = 0; y < block.GetLength(1); y++) putTile(Dest, x + xo, y + yo, width, height, block[x, y], ref put); }