private const val DEFAULT_HEIGHT = 256
private const val DEFAULT_MIN_BIOME_SIZE = 64
- fun getDefaultWithSeed(seed: Long): WorldGeneratorConfig {
+ fun getDefaultWithSeed(): WorldGeneratorConfig {
return WorldGeneratorConfig(
width = DEFAULT_WIDTH,
height = DEFAULT_HEIGHT,
if (isNewGame) {
mWidth = DEFAULT_WIDTH;
mHeight = DEFAULT_HEIGHT;
- Pair<int[][], int[][]> maps = new GameWorldGenerator(WorldGeneratorConfig.Companion.getDefaultWithSeed(TimeUtils.millis())).generate();
+ Pair<int[][], int[][]> maps = new GameWorldGenerator(WorldGeneratorConfig.Companion.getDefaultWithSeed()).generate();
mForeMap = maps.getFirst();
mBackMap = maps.getSecond();
mMobsController.getPlayer().respawn(this);