Examples of toEast()


Examples of me.daddychurchill.CityWorld.Support.SurroundingFloors.toEast()

      //platmap.generator.reportMessage("Found a skinny tall building");
      return new ConcreteLot(platmap, platmap.originX + platX, platmap.originZ + platZ);
     
    // if nothing to north/south or west/east then no insets for us
    } else if ((!neighborFloors.toNorth() && !neighborFloors.toSouth()) ||
           (!neighborFloors.toWest() && !neighborFloors.toEast())) {

      // clear insets
//      insetInsetted = false;
    }
   
View Full Code Here

Examples of me.daddychurchill.CityWorld.Support.SurroundingLots.toEast()

    // draw the isolation blocks
    if (!farms.toNorth()) {
      chunk.setBlocks(1, 15, generator.streetLevel, 0, 1, dividerMaterial);
      if (farms.toWest())
        chunk.setBlock(0, generator.streetLevel, 0, dividerMaterial);
      if (farms.toEast())
        chunk.setBlock(15, generator.streetLevel, 0, dividerMaterial);
    }
    if (!farms.toSouth()) {
      chunk.setBlocks(1, 15, generator.streetLevel, 15, 16, dividerMaterial);
      if (farms.toWest())
View Full Code Here

Examples of me.daddychurchill.CityWorld.Support.SurroundingLots.toEast()

    }
    if (!farms.toSouth()) {
      chunk.setBlocks(1, 15, generator.streetLevel, 15, 16, dividerMaterial);
      if (farms.toWest())
        chunk.setBlock(0, generator.streetLevel, 15, dividerMaterial);
      if (farms.toEast())
        chunk.setBlock(15, generator.streetLevel, 15, dividerMaterial);
    }
    if (!farms.toWest()) {
      chunk.setBlocks(0, 1, generator.streetLevel, 1, 15, dividerMaterial);
      if (farms.toNorth())
View Full Code Here

Examples of me.daddychurchill.CityWorld.Support.SurroundingLots.toEast()

      if (farms.toNorth())
        chunk.setBlock(0, generator.streetLevel, 0, dividerMaterial);
      if (farms.toSouth())
        chunk.setBlock(0, generator.streetLevel, 15, dividerMaterial);
    }
    if (!farms.toEast()) {
      chunk.setBlocks(15, 16, generator.streetLevel, 1, 15, dividerMaterial);
      if (farms.toNorth())
        chunk.setBlock(15, generator.streetLevel, 0, dividerMaterial);
      if (farms.toSouth())
        chunk.setBlock(15, generator.streetLevel, 15, dividerMaterial);
View Full Code Here

Examples of me.daddychurchill.CityWorld.Support.SurroundingLots.toEast()

      if (neighbors.toWest()) {
        chunk.setBlocks(0, 1, lowestY, highestY, 3, 5, cisternMaterial);
        chunk.setBlocks(0, 1, lowestY, highestY, 11, 13, cisternMaterial);
      } else
        chunk.setBlocks(0, 1, lowestY, highestY + 1, 0, 16, cisternMaterial);
      if (neighbors.toEast()) {
        chunk.setBlocks(15, 16, lowestY, highestY, 3, 5, cisternMaterial);
        chunk.setBlocks(15, 16, lowestY, highestY, 11, 13, cisternMaterial);
      } else
        chunk.setBlocks(15, 16, lowestY, highestY + 1, 0, 16, cisternMaterial);
     
View Full Code Here

Examples of me.daddychurchill.CityWorld.Support.SurroundingLots.toEast()

      chunk.setBlocks(0, 1, surfaceY, surfaceY + 1, 7, 9, stepMaterial);
      chunk.setBlocks(0, surfaceY, surfaceY + 2, 9, columnMaterial);
      chunk.setBlock(1, surfaceY, 6, columnMaterial);
      chunk.setBlock(1, surfaceY, 9, columnMaterial);
    }
    if (!neighbors.toEast() && HeightInfo.isBuildableToEast(generator, chunk)) {
      chunk.setBlocks(15, 16, surfaceY, surfaceY + 1, 0, 6, columnMaterial);
      chunk.setBlocks(15, 16, surfaceY + 1, surfaceY + 2, 0, 6, fenceMaterial);
      chunk.setBlocks(15, 16, surfaceY, surfaceY + 1, 10, 16, columnMaterial);
      chunk.setBlocks(15, 16, surfaceY + 1, surfaceY + 2, 10, 16, fenceMaterial);
      chunk.setBlocks(15, surfaceY, surfaceY + 2, 6, columnMaterial);
View Full Code Here

Examples of me.daddychurchill.CityWorld.Support.SurroundingRoads.toEast()

    chunk.setBlocks(chunk.width - sidewalkWidth, chunk.width, sidewalkLevel, sidewalkLevel + 1, chunk.width - sidewalkWidth, chunk.width, sidewalkMaterial);
   
    // sidewalk edges
    if (!roads.toWest())
      chunk.setBlocks(0, sidewalkWidth, sidewalkLevel, sidewalkLevel + 1, sidewalkWidth, chunk.width - sidewalkWidth, sidewalkMaterial);
    if (!roads.toEast())
      chunk.setBlocks(chunk.width - sidewalkWidth, chunk.width, sidewalkLevel, sidewalkLevel + 1, sidewalkWidth, chunk.width - sidewalkWidth, sidewalkMaterial);
    if (!roads.toNorth())
      chunk.setBlocks(sidewalkWidth, chunk.width - sidewalkWidth, sidewalkLevel, sidewalkLevel + 1, 0, sidewalkWidth, sidewalkMaterial);
    if (!roads.toSouth())
      chunk.setBlocks(sidewalkWidth, chunk.width - sidewalkWidth, sidewalkLevel, sidewalkLevel + 1, chunk.width - sidewalkWidth, chunk.width, sidewalkMaterial);
View Full Code Here

Examples of me.daddychurchill.CityWorld.Support.SurroundingRoads.toEast()

//      if (crosswalkEast)
//        generateWECrosswalk(chunk, chunk.width - sidewalkWidth, chunk.width, pavementLevel, sidewalkWidth, chunk.width - sidewalkWidth);
//    }
     
    // round things out
    if (!roads.toWest() && roads.toEast() && !roads.toNorth() && roads.toSouth())
      generateRoundedOut(generator, context, chunk, sidewalkWidth, sidewalkWidth,
          false, false);
    if (!roads.toWest() && roads.toEast() && roads.toNorth() && !roads.toSouth())
      generateRoundedOut(generator, context, chunk, sidewalkWidth, chunk.width - sidewalkWidth - 4,
          false, true);
View Full Code Here

Examples of me.daddychurchill.CityWorld.Support.SurroundingRoads.toEast()

     
    // round things out
    if (!roads.toWest() && roads.toEast() && !roads.toNorth() && roads.toSouth())
      generateRoundedOut(generator, context, chunk, sidewalkWidth, sidewalkWidth,
          false, false);
    if (!roads.toWest() && roads.toEast() && roads.toNorth() && !roads.toSouth())
      generateRoundedOut(generator, context, chunk, sidewalkWidth, chunk.width - sidewalkWidth - 4,
          false, true);
    if (roads.toWest() && !roads.toEast() && !roads.toNorth() && roads.toSouth())
      generateRoundedOut(generator, context, chunk, chunk.width - sidewalkWidth - 4, sidewalkWidth,
          true, false);
View Full Code Here

Examples of me.daddychurchill.CityWorld.Support.SurroundingRoads.toEast()

      generateRoundedOut(generator, context, chunk, sidewalkWidth, sidewalkWidth,
          false, false);
    if (!roads.toWest() && roads.toEast() && roads.toNorth() && !roads.toSouth())
      generateRoundedOut(generator, context, chunk, sidewalkWidth, chunk.width - sidewalkWidth - 4,
          false, true);
    if (roads.toWest() && !roads.toEast() && !roads.toNorth() && roads.toSouth())
      generateRoundedOut(generator, context, chunk, chunk.width - sidewalkWidth - 4, sidewalkWidth,
          true, false);
    if (roads.toWest() && !roads.toEast() && roads.toNorth() && !roads.toSouth())
      generateRoundedOut(generator, context, chunk, chunk.width - sidewalkWidth - 4, chunk.width - sidewalkWidth - 4,
          true, true);
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.