mirror of
https://github.com/Relintai/entity_spell_system.git
synced 2025-02-22 17:18:12 +01:00
26 lines
389 B
C++
26 lines
389 B
C++
#ifndef PLAYER_TALENT_H
|
|
#define PLAYER_TALENT_H
|
|
|
|
#include "core/object.h"
|
|
|
|
class PlayerTalent : public Object {
|
|
GDCLASS(PlayerTalent, Object);
|
|
|
|
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
|