示例#1
0
 private void attachLandscape() {
   scene.attachChild(islandTerrain);
   world.setIslandTerrain(islandTerrain);
   ocean.getProjectedGrid().setTerrainBlock(islandTerrain.getTerrainBlock());
 }
示例#2
0
 private void detachLandscape() {
   scene.detachChild(islandTerrain);
   world.setIslandTerrain(null);
   ocean.getProjectedGrid().setTerrainBlock(null);
 }