mirror of
https://github.com/Relintai/voxelman.git
synced 2024-11-12 10:15:12 +01:00
26 lines
468 B
C++
26 lines
468 B
C++
#ifndef VOXELMAN_PROP_SCENE_H
|
|
#define VOXELMAN_PROP_SCENE_H
|
|
|
|
#include "voxelman_prop_entry.h"
|
|
|
|
#include "scene/resources/packed_scene.h"
|
|
|
|
class VoxelmanPropScene : public VoxelmanPropEntry {
|
|
GDCLASS(VoxelmanPropScene, VoxelmanPropEntry);
|
|
|
|
public:
|
|
Ref<PackedScene> get_scene() const;
|
|
void set_scene(const Ref<PackedScene> value);
|
|
|
|
VoxelmanPropScene();
|
|
~VoxelmanPropScene();
|
|
|
|
protected:
|
|
static void _bind_methods();
|
|
|
|
private:
|
|
Ref<PackedScene> _scene;
|
|
};
|
|
|
|
#endif
|