Package me.daddychurchill.CityWorld.Support

Examples of me.daddychurchill.CityWorld.Support.MazeArray


        else
          chunk.setBlocks(x, x + 2, y1, y1 + 1, z, z + 2, getHallMaterial());
      }
     
      // new floor please
      MazeArray floor = new MazeArray(chunkOdds, mazeWidth, mazeWidth);
      for (int m = 1; m < mazeWidth; m++)
        for (int n = 1; n < mazeWidth; n++)
          if (floor.getBit(m, n) == MazeBit.HALL) {
            int x1 = m * 2 - 1;
            int z1 = n * 2 - 1;
            if (chunk.isType(x1, y1 + 1, z1, wallMaterial)) {
              Material hallMaterial = getHallMaterial();
              chunk.setBlocks(x1, x1 + 2, y1 + 1, y1 + towerFloorHeight, z1, z1 + 2, hallMaterial);
View Full Code Here

TOP

Related Classes of me.daddychurchill.CityWorld.Support.MazeArray

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.