mirror of
https://github.com/Relintai/voxelman.git
synced 2024-11-12 10:15:12 +01:00
26 lines
496 B
C++
26 lines
496 B
C++
#ifndef VOXELMAN_PROP_MESH_H
|
|
#define VOXELMAN_PROP_MESH_H
|
|
|
|
#include "voxelman_prop_entry.h"
|
|
|
|
#include "../../entity_spell_system/meshes/mesh_data_resource.h"
|
|
|
|
class VoxelmanPropMesh : public VoxelmanPropEntry {
|
|
GDCLASS(VoxelmanPropMesh, VoxelmanPropEntry);
|
|
|
|
public:
|
|
Ref<MeshDataResource> get_mesh() const;
|
|
void set_mesh(const Ref<MeshDataResource> mesh);
|
|
|
|
VoxelmanPropMesh();
|
|
~VoxelmanPropMesh();
|
|
|
|
protected:
|
|
static void _bind_methods();
|
|
|
|
private:
|
|
Ref<MeshDataResource> _mesh;
|
|
};
|
|
|
|
#endif
|