voxelman/props/prop_data_entity.h

28 lines
455 B
C
Raw Normal View History

2019-11-07 21:32:31 +01:00
#ifndef PROP_DATA_ENTITY_H
#define PROP_DATA_ENTITY_H
2019-11-05 23:18:48 +01:00
2019-11-07 21:32:31 +01:00
#include "prop_data_entry.h"
2019-11-05 23:18:48 +01:00
2019-11-07 21:32:31 +01:00
class PropDataEntity : public PropDataEntry {
GDCLASS(PropDataEntity, PropDataEntry);
2019-11-05 23:18:48 +01:00
public:
int get_entity_data_id() const;
void set_entity_data_id(const int value);
int get_level() const;
void set_level(const int value);
2019-11-07 21:32:31 +01:00
PropDataEntity();
~PropDataEntity();
2019-11-05 23:18:48 +01:00
protected:
static void _bind_methods();
private:
int _level;
int _entity_data_id;
};
#endif