2022-03-17 22:33:22 +01:00
|
|
|
#ifndef SKELETON_MODEL_ENTRY_H
|
|
|
|
#define SKELETON_MODEL_ENTRY_H
|
2023-12-17 22:59:50 +01:00
|
|
|
|
2022-03-15 13:29:32 +01:00
|
|
|
|
2022-08-17 13:45:14 +02:00
|
|
|
#include "core/object/reference.h"
|
2022-03-15 13:29:32 +01:00
|
|
|
|
|
|
|
#include "../data/items/model_visual_entry.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<ModelVisualEntry> get_entry();
|
|
|
|
void set_entry(Ref<ModelVisualEntry> entry);
|
|
|
|
|
|
|
|
SkeletonModelEntry();
|
|
|
|
~SkeletonModelEntry();
|
|
|
|
|
|
|
|
protected:
|
|
|
|
static void _bind_methods();
|
|
|
|
|
|
|
|
private:
|
|
|
|
int _count;
|
|
|
|
int _priority;
|
|
|
|
Color _color;
|
|
|
|
Ref<ModelVisualEntry> _entry;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|