Package tiled.mapeditor.undo

Examples of tiled.mapeditor.undo.MapLayerEdit


          currentBrush.startPaint(currentMap, tile.x, tile.y,
              mouseButton, currentLayer);
        }
      case PS_ERASE:
      case PS_POUR:
         paintEdit = new MapLayerEdit(layer, createLayerCopy(layer),
         null);
        break;
      default:
      }
    }
View Full Code Here


    Rectangle bounds = new Rectangle(area.x, area.y, area.width + 1,
        area.height + 1);
    after = new TileLayer(bounds);
    after.copyFrom(layer);

     MapLayerEdit mle = new MapLayerEdit(layer, before, after);
     mle.setPresentationName(TOOL_FILL);
     addEdit(mle);
  }
View Full Code Here

TOP

Related Classes of tiled.mapeditor.undo.MapLayerEdit

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.