Package me.daddychurchill.CityWorld.Clipboard

Examples of me.daddychurchill.CityWorld.Clipboard.ClipboardLot


  /**
   * @return the Chunk's CityWorld platLot schematic if it uses one
   */
  public String getSchematicName() {
    if (hasSchematic()) {
      ClipboardLot clot = (ClipboardLot) platlot;
      return clot.getClip().name;
    }
    return null;
  }
View Full Code Here


    classname = classname.substring(classname.lastIndexOf(".") + 1);
    info.put("lotclass", classname);

    // Now check if lot is a clipboardlot to get schematic name
    if (lot instanceof ClipboardLot) {
      ClipboardLot clot = (ClipboardLot) lot;
      info.put("schematic", clot.getClip().name);
    }

    return info;
  }
View Full Code Here

    // figure out the lot
    PlatLot lot = platmap.getMapLot(chunkX, chunkZ);
   
    // Now check if lot is a clipboardlot to get schematic name
    if (lot instanceof ClipboardLot) {
      ClipboardLot clot = (ClipboardLot) lot;
      name = clot.getClip().name;
    }

    return name;
  }
View Full Code Here

    BlockFace facing = odds.getRandomFacing();
   
    // calculate the various template plats
    for (int x = 0; x < chunksX; x++) {
      for (int z = 0; z < chunksZ; z++) {
        setLot(placeX + x, placeZ + z, new ClipboardLot(this,
                                originX + placeX + x, originZ + placeZ + z,
                                clip, facing, x, z));
      }
    }
  }
View Full Code Here

TOP

Related Classes of me.daddychurchill.CityWorld.Clipboard.ClipboardLot

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.