Package tiled.mapeditor.undo

Examples of tiled.mapeditor.undo.ResizeObjectEdit


  @Override
  public void handleDragFinish(MouseEvent e) {
    Rectangle newBounds = getNewBounds(e);
    if (!newBounds.equals(initialBounds)) {
      mapEditor.addEdit(new ResizeObjectEdit(targetObject, initialBounds, newBounds));
      targetObject.setBounds(newBounds);
    }
  }
View Full Code Here

TOP

Related Classes of tiled.mapeditor.undo.ResizeObjectEdit

Copyright © 2018 www.massapicom. 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.