Package de.yaams.extensions.basemap.tiled.core

Examples of de.yaams.extensions.basemap.tiled.core.Tile


      // todo: BL - Why are tiles checked on null? Surely whether a tile
      // todo: is null or not has nothing to do with whether you can place
      // todo: a property as a certain location?
      for (int j = (int) r.getY(); j < maxJ; j++) {
        for (int i = (int) r.getX(); i < maxI; i++) {
          Tile t = selection.getTileAt(i, j);
          if (t != null) {
            propertiesCoordinates.add(new Point(i, j));
          }
        }
      }
View Full Code Here


  private int checkSetUsage(TileSet tileset) {
    int used = 0;
    Iterator<?> tileIterator = tileset.iterator();

    while (tileIterator.hasNext()) {
      Tile tile = (Tile) tileIterator.next();
      Iterator<?> layerIterator = map.getLayers();

      while (layerIterator.hasNext()) {
        MapLayer ml = (MapLayer) layerIterator.next();
        if (ml instanceof TileLayer) {
View Full Code Here

    getContentPane().add(mainPanel);
    getRootPane().setDefaultButton(okButton);
  }

  private void createFromOptions() {
    Tile t = null;

    if (myBrush instanceof ShapeBrush) {
      t = ((ShapeBrush) myBrush).getTile();
    }
View Full Code Here

TOP

Related Classes of de.yaams.extensions.basemap.tiled.core.Tile

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.