Examples of addObjectGroup()


Examples of de.yaams.extensions.basemap.tiled.core.Map.addObjectGroup()

  }

  @Override
  protected void doPerformAction() {
    Map currentMap = editor.getCurrentMap();
    currentMap.addObjectGroup();
    editor.setCurrentLayer(currentMap.getTotalLayers() - 1);
  }
}
View Full Code Here

Examples of tiled.core.Map.addObjectGroup()

//              Resources.getString("action.objectgroup.add.tooltip"), Resources.getImageDescriptor("new-object-layer.png"));
//    }

    protected void doPerformAction() {
        Map currentMap = editor.getMap();
        MapLayer newGroup = currentMap.addObjectGroup();
        editor.setCurrentLayer(currentMap.getTotalLayers() - 1);
        if (viewer != null)
          viewer.editElement(newGroup,0);
    }
   
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.