mirror of
https://github.com/Relintai/world_generator.git
synced 2024-11-12 10:15:07 +01:00
27 lines
501 B
C
27 lines
501 B
C
|
#ifndef VOXELMAN_PROP_DATA_H
|
||
|
#define VOXELMAN_PROP_DATA_H
|
||
|
|
||
|
#include "core/resource.h"
|
||
|
#include "core/math/transform.h"
|
||
|
|
||
|
class VoxelmanPropEntry : public Resource {
|
||
|
GDCLASS(VoxelmanPropEntry, Resource);
|
||
|
|
||
|
public:
|
||
|
|
||
|
void write_room(Ref<VoxelmanStructure> structure, Vector3i position, Vector3i size);
|
||
|
void generate_room(Ref<VoxelmanStructure> structure);
|
||
|
|
||
|
VoxelmanPropEntry();
|
||
|
~VoxelmanPropEntry();
|
||
|
|
||
|
protected:
|
||
|
static void _bind_methods();
|
||
|
|
||
|
private:
|
||
|
|
||
|
Vector<Ref<VoxelmanProp> > _props;
|
||
|
};
|
||
|
|
||
|
#endif
|