Package tiled.io

Examples of tiled.io.TMXMapWriter


      if (input instanceof IPathEditorInput) {
        IPath path = ((IPathEditorInput) input).getPath();
        basePath = path.toOSString();
      }
      ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
      new TMXMapWriter().writeMap(currentMap, outputStream, basePath);
      byte[] bytes = outputStream.toByteArray();
      document.set(new String(bytes));
      documentProvider.saveDocument(monitor,input,document,true);
      setDirty(false);
    } catch (CoreException e) {
View Full Code Here

TOP

Related Classes of tiled.io.TMXMapWriter

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.