XtreemNodes/include/LevelGenerator.h

22 lines
408 B
C
Raw Normal View History

2023-09-23 23:19:52 +02:00
#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