mirror of
https://github.com/Relintai/entity_spell_system.git
synced 2025-02-22 17:18:12 +01:00
37 lines
679 B
C++
37 lines
679 B
C++
#ifndef SKELETON_MODEL_ENTRY_H
|
|
#define SKELETON_MODEL_ENTRY_H
|
|
|
|
#include "../data/item_visual_entry.h"
|
|
#include "core/reference.h"
|
|
|
|
class SkeletonModelEntry : public Reference {
|
|
GDCLASS(SkeletonModelEntry, Reference);
|
|
|
|
public:
|
|
int get_count() const;
|
|
void set_count(const int value);
|
|
|
|
int get_priority() const;
|
|
void set_priority(const int value);
|
|
|
|
Color get_color() const;
|
|
void set_color(const Color value);
|
|
|
|
Ref<ItemVisualEntry> get_entry();
|
|
void set_entry(Ref<ItemVisualEntry> entry);
|
|
|
|
SkeletonModelEntry();
|
|
~SkeletonModelEntry();
|
|
|
|
protected:
|
|
static void _bind_methods();
|
|
|
|
private:
|
|
int _count;
|
|
int _priority;
|
|
Color _color;
|
|
Ref<ItemVisualEntry> _entry;
|
|
};
|
|
|
|
#endif
|