#pragma once
#include "EngineFrame/Component/Animation.h"
#include <vector>
class AnimationManager : public Actor
{
private:
    SDL_Texture *m_Texture = nullptr;
    SDL_FRect m_RenderRect = {0, 0, 0, 0};

public:
    AnimationManager();
    // void Update(float deltaTime) override;
    void PreRender() override;
    void Render() override;

public:
    // 添加Ani
    void AddAnimation(RefPtr<Animation> ani);
    // 清空Ani
    void Clear();
};
