if ((child.getType() & Spatial.TERRAIN_BLOCK) != 0) {
if ((child.getType() & SceneElement.TERRAIN_BLOCK) != 0) {
   private TerrainBlock getBlock(int quad) {       if (children != null)       for (int x = children.size(); --x >= 0; ) {           Spatial child = (Spatial)children.get(x);           if ((child.getType() & Spatial.TERRAIN_BLOCK) != 0) {               TerrainBlock tb = (TerrainBlock)child;               if (tb.getQuadrant() == quad) return tb;           }       }       return null;   }