entity_spell_system/skeleton/skeleton_model_entry.h

37 lines
679 B
C
Raw Normal View History

2019-10-25 15:52:58 +02:00
#ifndef SKELETON_MODEL_ENTRY_H
#define SKELETON_MODEL_ENTRY_H
#include "../data/item_visual_entry.h"
#include "core/reference.h"
2019-10-25 15:52:58 +02:00
class SkeletonModelEntry : public Reference {
GDCLASS(SkeletonModelEntry, Reference);
public:
2019-10-26 03:38:09 +02:00
int get_count() const;
void set_count(const int value);
2019-10-25 15:52:58 +02:00
int get_priority() const;
2019-10-26 03:38:09 +02:00
void set_priority(const int value);
Color get_color() const;
void set_color(const Color value);
2019-10-25 15:52:58 +02:00
Ref<ItemVisualEntry> get_entry();
void set_entry(Ref<ItemVisualEntry> entry);
SkeletonModelEntry();
~SkeletonModelEntry();
2019-10-25 15:52:58 +02:00
protected:
static void _bind_methods();
private:
2019-10-26 03:38:09 +02:00
int _count;
2019-10-25 15:52:58 +02:00
int _priority;
Color _color;
Ref<ItemVisualEntry> _entry;
};
#endif