Examples of toNorth()


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

     
      // ceiling please
      chunk.setBlocks(0, 16, base2Y, base2Y + 1, 0, 16, sewerMaterial, chunkOdds, sewerCeilingData, sewerWallData);
     
      // show our bias
      if (roads.toNorth()) {
        vaultNorthWest = sewerNorthWestBias;
        vaultNorthEast = sewerNorthEastBias;
      }
      if (roads.toSouth()) {
        vaultSouthWest = sewerSouthWestBias;
View Full Code Here

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

        vaultNorthEast = sewerNorthEastBias;
        vaultSouthEast = sewerSouthEastBias;
      }
     
      // make sure there is a way down
      if (roads.toNorth() && roads.toWest()) {
        vaultNorthWest = true;
       
        // place the manhole
        chunk.setTrapDoor(3, sidewalkLevel, 2, Direction.TrapDoor.WEST);
       
View Full Code Here

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

      }
     
      Material fluidMaterial = generator.oreProvider.fluidFluidMaterial;
     
      // 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);
View Full Code Here

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

      // fancy up the center walls?
      if (centerNorth) {
        generateDoor(chunk, 10, sewerY, 4, Direction.Door.NORTHBYNORTHEAST);
        chunk.setStoneSlab(7, sewerY, 4, Direction.StoneSlab.COBBLESTONEFLIP);
        chunk.setStoneSlab(8, sewerY, 4, Direction.StoneSlab.COBBLESTONEFLIP);
      } else if (!placedPlank && roads.toNorth() && chunkOdds.flipCoin()) {
        placedPlank = true;
        BlackMagic.setBlocks(chunk, 6, 10, sewerY, 5, 6, sewerPlankMaterial, sewerPlankData);
      }
      if (centerSouth) {
        generateDoor(chunk, 5, sewerY, 11, Direction.Door.SOUTHBYSOUTHWEST);
View Full Code Here

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

        BlackMagic.setBlocks(chunk, 10, 11, sewerY, 6, 10, sewerPlankMaterial, sewerPlankData);
      }
     
      // populate the vaults
      if (vaultNorthWest) {
        if (!(roads.toNorth() && roads.toWest())) // special case for manholes
          generateTreat(generator, chunk, 2, sewerY, 2);
      }
      if (vaultNorthEast) {
        generateTreat(generator, chunk, 13, sewerY, 2);
      }
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.