Examples of toSouth()


Examples of me.daddychurchill.CityWorld.Support.SurroundingRoads.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);
        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

Examples of me.daddychurchill.CityWorld.Support.SurroundingRoads.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);
      }

      // crosswalks?
View Full Code Here

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

        decayRoad(chunk, sidewalkWidth, chunk.width - sidewalkWidth, pavementLevel, sidewalkWidth, chunk.width - sidewalkWidth);
       
        // road to the whatever
        if (roads.toNorth())
          decayRoad(chunk, sidewalkWidth, chunk.width - sidewalkWidth, pavementLevel, 0, sidewalkWidth);
        if (roads.toSouth())
          decayRoad(chunk, sidewalkWidth, chunk.width - sidewalkWidth, pavementLevel, chunk.width - sidewalkWidth, chunk.width);
        if (roads.toWest())
          decayRoad(chunk, 0, sidewalkWidth, pavementLevel, sidewalkWidth, chunk.width - sidewalkWidth);
        if (roads.toEast())
          decayRoad(chunk, chunk.width - sidewalkWidth, chunk.width, pavementLevel, sidewalkWidth, chunk.width - sidewalkWidth);
View Full Code Here

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

          decaySidewalk(generator, chunk, 0, sidewalkWidth, sidewalkLevel, sidewalkWidth, chunk.width - sidewalkWidth);
        if (!roads.toEast())
          decaySidewalk(generator, chunk, chunk.width - sidewalkWidth, chunk.width, sidewalkLevel, sidewalkWidth, chunk.width - sidewalkWidth);
        if (!roads.toNorth())
          decaySidewalk(generator, chunk, sidewalkWidth, chunk.width - sidewalkWidth, sidewalkLevel, 0, sidewalkWidth);
        if (!roads.toSouth())
          decaySidewalk(generator, chunk, sidewalkWidth, chunk.width - sidewalkWidth, sidewalkLevel, chunk.width - sidewalkWidth, chunk.width);
       
      }
     
      // tunnel please
View Full Code Here

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

       
        // tunnel to the east/west
        if (roads.toWest() && roads.toEast()) {
          chunk.setBlock(3, sidewalkLevel + 7, 8, context.lightMat);
          chunk.setBlock(12, sidewalkLevel + 7, 7, context.lightMat);
        } else if (roads.toNorth() && roads.toSouth()) {
          chunk.setBlock(8, sidewalkLevel + 7, 3, context.lightMat);
          chunk.setBlock(7, sidewalkLevel + 7, 12, context.lightMat);
        }
       
        // add nature on top
View Full Code Here

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

      boolean vaultNorthWest = false;
      boolean vaultSouthWest = false;
      boolean vaultNorthEast = false;
      boolean vaultSouthEast = false;
      boolean centerNorth = !roads.toNorth();
      boolean centerSouth = !roads.toSouth();
      boolean centerWest = !roads.toWest();
      boolean centerEast = !roads.toEast();
     
      // empty out the sewer
      chunk.setLayer(base1Y, base2Y - base1Y, getAirMaterial(generator, base1Y));
View Full Code Here

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

        chunk.setBlocks(5, 11, sewerY, base2Y, 0, 1, sewerMaterial, chunkOdds, sewerWallData, sewerFloorData);
        chunk.setBlocks(5, 11, base2Y - 1, base2Y, 1, 2, sewerMaterial, chunkOdds, sewerCeilingData, sewerWallData);
      } else {
        chunk.setBlocks(7, 9, sewerY - 1, sewerY, 0, 7, emptyMaterial);
      }
      if (!roads.toSouth()) {
        chunk.setBlocks(5, 11, sewerY, base2Y, 15, 16, sewerMaterial, chunkOdds, sewerWallData, sewerFloorData);
        chunk.setBlocks(5, 11, base2Y - 1, base2Y, 14, 15, sewerMaterial, chunkOdds, sewerCeilingData, sewerWallData);
      } else {
        chunk.setBlocks(7, 9, sewerY - 1, sewerY, 9, 16, emptyMaterial);
      }
View Full Code Here

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

      // show our bias
      if (roads.toNorth()) {
        vaultNorthWest = sewerNorthWestBias;
        vaultNorthEast = sewerNorthEastBias;
      }
      if (roads.toSouth()) {
        vaultSouthWest = sewerSouthWestBias;
        vaultSouthEast = sewerSouthEastBias;
      }
      if (roads.toWest()) {
        vaultNorthWest = sewerNorthWestBias;
View Full Code Here

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

      // show our bias
      if (roads.toNorth()) {
        vaultNorthWest = sewerNorthWestBias;
        vaultNorthEast = sewerNorthEastBias;
      }
      if (roads.toSouth()) {
        vaultSouthWest = sewerSouthWestBias;
        vaultSouthEast = sewerSouthEastBias;
      }
      if (roads.toWest()) {
        vaultNorthWest = sewerNorthWestBias;
View Full Code Here

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

      // cardinal directions known walls and ditches
      if (roads.toNorth()) {
        chunk.setBlock(8, sewerY - 1, 3, fluidMaterial);
        generateEntryVines(chunk, base2Y - 1, Direction.Vine.NORTH, 6, 1, 7, 1, 8, 1, 9, 1);
      }
      if (roads.toSouth()) {
        chunk.setBlock(7, sewerY - 1, 12, fluidMaterial);
        generateEntryVines(chunk, base2Y - 1, Direction.Vine.SOUTH, 6, 14, 7, 14, 8, 14, 9, 14);
      }
      if (roads.toWest()) {
        chunk.setBlock(3, sewerY - 1, 7, fluidMaterial);
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.