entity_spell_system/entities/player_talent.h
Relintai d4ebbdc69c -Fixed crash in Aura, _setup_aura_data will now set up the time too, and Added more ERR checks.
-is_debuff is now just debuff.
-I realized that Godot Vectors, and Maps are made in a way, so that they don't need to be dynamically allocated. So none of the vectors, and maps are pointers anymore in Entity.
-PlayerTalent is a Reference now.
2019-05-29 17:27:36 +02:00

26 lines
398 B
C++

#ifndef PLAYER_TALENT_H
#define PLAYER_TALENT_H
#include "core/reference.h"
class PlayerTalent : public Reference {
GDCLASS(PlayerTalent, Reference);
public:
int get_talent_id();
void set_talent_id(int value);
int get_rank();
void set_rank(int value);
PlayerTalent();
PlayerTalent(int talentID);
protected:
static void _bind_methods();
private:
int _talent_id;
int _rank;
};
#endif