2020-12-02 16:19:16 -05:00
|
|
|
#pragma once
|
|
|
|
class Animation
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
static bool loop;
|
|
|
|
static bool secondary;
|
|
|
|
|
|
|
|
static CJson json;
|
|
|
|
static ImGuiTextFilter filter;
|
|
|
|
static std::vector<std::string> search_categories;
|
|
|
|
static std::string selected_item;
|
|
|
|
|
|
|
|
static char anim_buffer[INPUT_BUFFER_SIZE];
|
2021-01-07 16:07:45 -05:00
|
|
|
static char ifp_buffer[INPUT_BUFFER_SIZE];
|
2020-12-02 16:19:16 -05:00
|
|
|
|
|
|
|
protected:
|
|
|
|
Animation();
|
|
|
|
~Animation() {};
|
2021-01-07 16:07:45 -05:00
|
|
|
|
2020-12-02 16:19:16 -05:00
|
|
|
public:
|
2021-02-24 16:54:45 -05:00
|
|
|
static void Draw();
|
2020-12-02 16:19:16 -05:00
|
|
|
static void PlayAnimation(std::string& rootkey, std::string& anim, std::string& ifp);
|
2021-01-07 16:07:45 -05:00
|
|
|
static void RemoveAnimation(std::string& rootkey, std::string& anim, std::string& ifp);
|
2020-12-02 16:19:16 -05:00
|
|
|
};
|
|
|
|
|