This method resets the 'subbTrees' array, and recalculates the values of the 'reversible' array. It also resets the decomposed component buffers.
public override void setTile(int x, int y) { int i; // Change tile base.setTile(x, y); // Reset the decomposed component buffers. if (decomposedComps != null) { for (i = decomposedComps.Length - 1; i >= 0; i--) { decomposedComps[i] = null; currentSubband[i] = null; } } }