Examples of MoveLayerEdit


Examples of de.yaams.extensions.basemap.tiled.mapeditor.undo.MoveLayerEdit

      // if (marqueeSelection != null) {
      // tileInstancePropertiesDialog.setSelection(marqueeSelection);
      // }
    } else if (currentPointerState == PS_MOVE) {
      if (layer != null && (moveDist.x != 0 || moveDist.x != 0)) {
        undoSupport.postEdit(new MoveLayerEdit(layer, moveDist));
      }
    } else if (currentPointerState == PS_PAINT) {
      if (layer instanceof TileLayer) {
        currentBrush.endPaint();
      }
View Full Code Here

Examples of tiled.mapeditor.undo.MoveLayerEdit

      // if (marqueeSelection != null) {
      // tileInstancePropertiesDialog.setSelection(marqueeSelection);
      // }
    } else if (currentPointerState == PS_MOVE) {
      if (layer != null && (moveDist.x != 0 || moveDist.y != 0)) {
         addEdit(new MoveLayerEdit(layer, moveDist));
      }
    } else if (currentPointerState == PS_PAINT) {
      if (layer instanceof TileLayer) {
        currentBrush.endPaint();
      }
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.