mirror of
https://github.com/Relintai/entity_spell_system.git
synced 2025-02-22 17:18:12 +01:00
37 lines
612 B
C
37 lines
612 B
C
|
#ifndef ENTITY_SKILL_DATA_H
|
||
|
#define ENTITY_SKILL_DATA_H
|
||
|
|
||
|
#include "core/resource.h"
|
||
|
#include "core/ustring.h"
|
||
|
|
||
|
class EntitySkillData : public Resource {
|
||
|
GDCLASS(EntitySkillData, Resource);
|
||
|
|
||
|
public:
|
||
|
int get_id();
|
||
|
void set_id(int value);
|
||
|
|
||
|
int get_default_value();
|
||
|
void set_default_value(int value);
|
||
|
|
||
|
int get_max_value();
|
||
|
void set_max_value(int value);
|
||
|
|
||
|
String get_text_description();
|
||
|
void set_text_description(String value);
|
||
|
|
||
|
EntitySkillData();
|
||
|
~EntitySkillData();
|
||
|
|
||
|
protected:
|
||
|
static void _bind_methods();
|
||
|
|
||
|
private:
|
||
|
int _id;
|
||
|
int _default_value;
|
||
|
int _max_value;
|
||
|
String _text_description;
|
||
|
};
|
||
|
|
||
|
#endif
|