Package tiled.mapeditor.undo

Examples of tiled.mapeditor.undo.AddObjectsEdit.execute()


                initialBounds.width,
                initialBounds.height);
        resultObjects.add(clone);
      }
      AddObjectsEdit edit = new AddObjectsEdit((ObjectGroup) getCurrentLayer(),resultObjects.toArray(new MapObject[0]));
      edit.execute(null,null);
      addEdit(edit);
      mapView.redraw();
    } catch (CloneNotSupportedException e) {
      // Shouldn't happen
      e.printStackTrace();
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.