Examples of swapLayerUp()


Examples of de.yaams.extensions.basemap.tiled.core.Map.swapLayerUp()

    Map map = editor.getCurrentMap();
    int layerIndex = editor.getCurrentLayerIndex();
    int totalLayers = map.getTotalLayers();

    if (layerIndex < totalLayers - 1) {
      map.swapLayerUp(layerIndex);
      editor.setCurrentLayer(layerIndex + 1);
    }
  }
}
View Full Code Here

Examples of tiled.core.Map.swapLayerUp()

        Map map = editor.getCurrentMap();
        int layerIndex = editor.getCurrentLayerIndex();
        int totalLayers = map.getTotalLayers();

        if (layerIndex < totalLayers - 1) {
            map.swapLayerUp(layerIndex);
            editor.setCurrentLayer(layerIndex + 1);
        }
    }
}
View Full Code Here

Examples of tiled.core.Map.swapLayerUp()

        Map map = editor.getMap();
        int layerIndex = editor.getCurrentLayerIndex();
        int totalLayers = map.getTotalLayers();

        if (layerIndex < totalLayers - 1) {
            map.swapLayerUp(layerIndex);
            editor.setCurrentLayer(layerIndex + 1);
        }
    }
   
    @Override
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.