mirror of
https://github.com/Relintai/world_generator.git
synced 2024-11-12 10:15:07 +01:00
25 lines
342 B
C++
25 lines
342 B
C++
#ifndef PROP_DATA_H
|
|
#define PROP_DATA_H
|
|
|
|
#include "core/resource.h"
|
|
|
|
#include "../../voxelman/props/voxelman_prop.h"
|
|
|
|
class PropData : public Resource {
|
|
GDCLASS(PropData, Resource);
|
|
|
|
public:
|
|
|
|
bool can_spawn(int seed);
|
|
Ref<VoxelmanProp> get_prop(int seed);
|
|
|
|
PropData();
|
|
~PropData();
|
|
|
|
protected:
|
|
static void _bind_methods();
|
|
|
|
};
|
|
|
|
#endif
|