voxelman/props/prop_data_light.h

30 lines
485 B
C
Raw Permalink Normal View History

2019-11-07 21:32:31 +01:00
#ifndef PROP_DATA_LIGHT_H
#define PROP_DATA_LIGHT_H
2019-09-22 02:46:21 +02:00
2019-11-07 21:32:31 +01:00
#include "prop_data_entry.h"
2019-09-22 02:46:21 +02:00
#include "core/color.h"
2019-11-07 21:32:31 +01:00
class PropDataLight : public PropDataEntry {
GDCLASS(PropDataLight, PropDataEntry);
2020-01-09 04:29:05 +01:00
2019-09-22 02:46:21 +02:00
public:
Color get_light_color() const;
void set_light_color(const Color value);
int get_light_size() const;
void set_light_size(const int value);
2019-11-07 21:32:31 +01:00
PropDataLight();
~PropDataLight();
2019-09-22 02:46:21 +02:00
protected:
static void _bind_methods();
private:
Color _light_color;
int _light_size;
};
#endif