2019-09-03 13:52:32 +02:00
|
|
|
#ifndef VOXELMAN_LEVEL_GENERATOR_H
|
|
|
|
#define VOXELMAN_LEVEL_GENERATOR_H
|
|
|
|
|
|
|
|
#include "core/resource.h"
|
|
|
|
|
2019-11-19 16:33:06 +01:00
|
|
|
class VoxelChunk;
|
2019-11-19 14:42:21 +01:00
|
|
|
|
2019-09-03 13:52:32 +02:00
|
|
|
class VoxelmanLevelGenerator : public Resource {
|
|
|
|
GDCLASS(VoxelmanLevelGenerator, Resource);
|
|
|
|
|
|
|
|
public:
|
2019-11-19 14:42:21 +01:00
|
|
|
void generate_chunk_bind(Node *chunk);
|
|
|
|
void generate_chunk(VoxelChunk *chunk);
|
|
|
|
|
2019-09-03 13:52:32 +02:00
|
|
|
VoxelmanLevelGenerator();
|
|
|
|
~VoxelmanLevelGenerator();
|
|
|
|
|
|
|
|
protected:
|
|
|
|
static void _bind_methods();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|