rendered paste body/********************************New Build Map Function********************/ public void Build_Map(int x, int y){ world_Map.map_cells= new Cell[x][y]; for (Cell[] cell : world_Map.map_cells){ for (Cell inCell : cell){ inCell = new Cell(); inCell.set_terrain(0); } }/******************Old *WORKING* Build Map********************************/ System.out.println("Creating a New map with: " + height + " Rows and " + width + " Columns"); map_cells = new Cell[height][width]; for (int i=0; i < map_cells.length;i++){ for (int j = 0; j < map_cells[i].length; j++){ map_cells[i][j]=new Cell(); }