} }
}
    public void setDetailTexture(int unit, int repeat) {        for (int i = 0; i < this.getQuantity(); i++) {            if (this.getChild(i) instanceof TerrainPage) {                ((TerrainPage) getChild(i)).setDetailTexture(unit, repeat);            } else if (this.getChild(i) instanceof TerrainBlock) {                ((TerrainBlock) getChild(i)).setDetailTexture(unit, repeat);            }        }    }