if (canEdit())
if (!canEdit())
    public void maskedCopyFrom(MapLayer other, Area mask) {        if (canEdit())            return;        Rectangle boundBox = mask.getBounds();        for (int y = boundBox.y; y < boundBox.y + boundBox.height; y++) {            for (int x = boundBox.x; x < boundBox.x + boundBox.width; x++) {                if (mask.contains(x,y)) {                    setTileAt(x, y, ((TileLayer)other).getTileAt(x, y));                }            }        }    }