public void loadNextLevel() { if (currentLevel < 5) { currentLevel += 1; map_generator.DeleteMap(); map_generator.ChangeSettings((int)(map_generator.map_Width * 1.3), (int)(map_generator.map_Height * 1.3), (int)(map_generator.goal_distance * 1.3), map_generator.octaves, map_generator.persistance, map_generator.lacunarity, map_generator.seed, map_generator.offset, map_generator.minIslandProximity, map_generator.fiveFieldsNeighbours, map_generator.noiseScale, map_generator.islandMarker); generateNewLevel(); } else { gameFinish(); } }