voxelman/props/voxelman_prop_entry.h

27 lines
425 B
C
Raw Normal View History

2019-07-19 18:39:46 +02:00
#ifndef VOXELMAN_PROP_DATA_H
#define VOXELMAN_PROP_DATA_H
2019-09-22 02:46:21 +02:00
#include "core/resource.h"
#include "core/math/transform.h"
2019-07-19 18:39:46 +02:00
class VoxelmanPropEntry : public Resource {
GDCLASS(VoxelmanPropEntry, Resource);
2019-07-19 18:39:46 +02:00
public:
2019-09-22 02:46:21 +02:00
Transform get_transform() const;
void set_transform(const Transform value);
2019-07-19 18:39:46 +02:00
VoxelmanPropEntry();
~VoxelmanPropEntry();
2019-07-19 18:39:46 +02:00
protected:
static void _bind_methods();
private:
2019-09-22 02:46:21 +02:00
Transform _transform;
2019-07-19 18:39:46 +02:00
};
#endif