mirror of
https://github.com/Relintai/voxelman.git
synced 2024-11-12 10:15:12 +01:00
25 lines
412 B
C++
25 lines
412 B
C++
#ifndef VOXELMAN_LEVEL_GENERATOR_H
|
|
#define VOXELMAN_LEVEL_GENERATOR_H
|
|
|
|
#include "core/resource.h"
|
|
|
|
class VoxelChunk;
|
|
|
|
class VoxelmanLevelGenerator : public Resource {
|
|
GDCLASS(VoxelmanLevelGenerator, Resource);
|
|
|
|
public:
|
|
void generate_chunk_bind(Node *chunk);
|
|
void generate_chunk(VoxelChunk *chunk);
|
|
|
|
VoxelmanLevelGenerator();
|
|
~VoxelmanLevelGenerator();
|
|
|
|
protected:
|
|
static void _bind_methods();
|
|
|
|
};
|
|
|
|
#endif
|
|
|