} else if ((spat.getType() & Spatial.TERRAIN_BLOCK) != 0) {
} else if ((spat.getType() & SceneElement.TERRAIN_BLOCK) != 0) {
   public void multHeightMapValue(int x, int y, int toMult) {       int quad = findQuadrant(x,y);       int split = (size + 1) >> 1;       if (children != null)       for (int i = children.size(); --i >= 0; ) {           Spatial spat = (Spatial)children.get(i);           int col = x;           int row = y;           boolean match = false;           // get the childs quadrant           int childQuadrant = 0;           if ((spat.getType() & Spatial.TERRAIN_PAGE) != 0) {               childQuadrant = ((TerrainPage)spat).getQuadrant();           } else if ((spat.getType() & Spatial.TERRAIN_BLOCK) != 0) {               childQuadrant = ((TerrainBlock)spat).getQuadrant();           }           if (childQuadrant == 1 && (quad & 1) != 0) {               match = true;           }           else if (childQuadrant == 2 && (quad & 2) != 0) {               row = y-split+1;               match = true;           }           else if (childQuadrant == 3 && (quad & 4) != 0) {               col = x-split+1;               match = true;           }           else if (childQuadrant == 4 && (quad & 8) != 0) {               col = x-split+1;               row = y-split+1;               match = true;           }           if (match) {               if ((spat.getType() & Spatial.TERRAIN_PAGE) != 0) {                   ((TerrainPage)spat).multHeightMapValue(col, row, toMult);               } else if ((spat.getType() & Spatial.TERRAIN_BLOCK) != 0) {                   ((TerrainBlock)spat).multHeightMapValue(col, row, toMult);               }           }       }   }