readd diverged version

This commit is contained in:
2023-09-23 21:19:52 +00:00
parent 45d324a9ec
commit 7e7a73f9b6
24 changed files with 11587 additions and 0 deletions

21
include/LevelGenerator.h Normal file
View File

@@ -0,0 +1,21 @@
#ifndef LEVELGENERATOR
#define LEVELGENERATOR
#include "FastNoiseLite.h"
class LevelGenerator
{
public:
LevelGenerator();
void setSeed();
void generateBlock();
void terraformBlock();
void populate();
protected:
private:
FastNoiseLite perlin, os, cellular;
int seed = 138; // 1338, 1337. 138 are good ones
};
#endif