Examples of MoveObjectEdit


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

      if (layer instanceof TileLayer) {
        currentBrush.endPaint();
      }
    } else if (currentPointerState == PS_MOVEOBJ) {
      if (layer instanceof ObjectGroup && currentObject != null && (moveDist.x != 0 || moveDist.x != 0)) {
        undoSupport.postEdit(new MoveObjectEdit(currentObject, moveDist));
      }
    }

    if (/* bMouseIsDragging && */currentPointerState == PS_PAINT || currentPointerState == PS_ADDOBJ) {
      Point tile = mapView.screenToTileCoords(event.getX(), event.getY());
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.