mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
15 lines
294 B
C++
15 lines
294 B
C++
#pragma once
|
|
|
|
#include "typedefs.hpp"
|
|
#include "WorldGenerator.hpp"
|
|
|
|
struct voxel;
|
|
class Content;
|
|
|
|
class FlatWorldGenerator : WorldGenerator {
|
|
public:
|
|
FlatWorldGenerator(const Content* content) : WorldGenerator(content) {
|
|
}
|
|
|
|
void generate(voxel* voxels, int x, int z, int seed);
|
|
};
|