pandemonium_engine/modules/entity_spell_system/props/prop_data_entity.h

37 lines
623 B
C++
Raw Normal View History

2022-03-17 22:33:22 +01:00
#ifndef PROP_DATA_ENTITY_H
#define PROP_DATA_ENTITY_H
2023-12-17 22:59:50 +01:00
#include "modules/modules_enabled.gen.h"
#ifdef MODULE_PROPS_ENABLED
#include "../../props/props/prop_data_entry.h"
#include "../entities/data/entity_data.h"
class PropDataEntity : public PropDataEntry {
GDCLASS(PropDataEntity, PropDataEntry);
public:
Ref<EntityData> get_entity_data() const;
void set_entity_data(const Ref<EntityData> &value);
int get_level() const;
void set_level(const int value);
PropDataEntity();
~PropDataEntity();
protected:
static void _bind_methods();
private:
int _level;
Ref<EntityData> _entity_data;
};
#endif
#endif