voxelman/props/prop_data_entry.h

27 lines
401 B
C
Raw Normal View History

2019-11-07 21:32:31 +01:00
#ifndef PROP_DATA_DATA_H
#define PROP_DATA_DATA_H
2019-07-19 18:39:46 +02:00
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
2019-11-07 21:32:31 +01:00
class PropDataEntry : public Resource {
GDCLASS(PropDataEntry, 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
2019-11-07 21:32:31 +01:00
PropDataEntry();
~PropDataEntry();
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