Add files via upload

This commit is contained in:
Onran 2024-02-23 11:48:32 +09:00 • committed by GitHub
parent 549b392871
commit a5087cf221
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 410 additions and 254 deletions

View file

@ -0,0 +1,18 @@
#ifndef VOXELS_WORLDGENERATOR_H_
#define VOXELS_WORLDGENERATOR_H_
#include "../typedefs.h"
#include "../voxels/WorldGenerator.h"
#include <string>
struct voxel;
class Content;
class DefaultWorldGenerator : WorldGenerator {
public:
DefaultWorldGenerator(const Content* content) : WorldGenerator(content) {}
void generate(voxel* voxels, int x, int z, int seed) override;
};
#endif /* VOXELS_WORLDGENERATOR_H_ */