mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 21:41:50 +00:00
Add files via upload
This commit is contained in:
parent
549b392871
commit
a5087cf221
11 changed files with 410 additions and 254 deletions
18
src/voxels/DefaultWorldGenerator.h
Normal file
18
src/voxels/DefaultWorldGenerator.h
Normal 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_ */
|
||||
Loading…
Add table
Add a link
Reference in a new issue