示例#1
0
 public void generate()
 {
     dim      = floorSize;
     div_dim  = dim / 2.0F;
     m_maze3d = new Maze3d(heigth, depth, width, exitsInFloor, exitsInWalls);
     m_maze3d.generate(randWallsExits, randFloorExits);
     pop_maze_3d(m_maze3d, new Vector3(0, 0, 0));
 }
示例#2
0
 public void generate()
 {
     dim      = floorSize;
     div_dim  = dim / 2.0F;
     m_maze3d = new Maze3d(heigth, depth, width, exitsInFloor, exitsInWalls);
     m_maze3d.generate(randWallsExits, randFloorExits, iteration);
     pop_maze_3d(m_maze3d, new Vector3(0, 0, 0));
     iteration++;
     m_maze3d2 = new Maze3d(heigth, depth, width, exitsInFloor, exitsInWalls);
     m_maze3d2.generate(randWallsExits, randFloorExits, iteration);
     pop_maze_3d(m_maze3d2, new Vector3(0, 5, 0));
     iteration++;
     m_maze3d3 = new Maze3d(heigth, depth, width, exitsInFloor, exitsInWalls);
     m_maze3d3.generate(randWallsExits, randFloorExits, iteration);
     pop_maze_3d(m_maze3d3, new Vector3(0, 10, 0));
     iteration++;
 }