#pragma once
#include "Asset/AnimationStruct.h" //Ani结构
#include "Asset/ScriptData.h"
class AssetManager
{

public:
    AssetManager(const AssetManager &) = delete;
    AssetManager &operator=(const AssetManager &) = delete;
    AssetManager(AssetManager &&) = delete;
    AssetManager &operator=(AssetManager &&) = delete;
    // 全局访问点
    static AssetManager &GetInstance()
    {
        static AssetManager instance; // 局部静态变量，保证只初始化一次
        return instance;
    }

private:
    AssetManager(/* args */);
    ~AssetManager();

public:
    // 构造Ani结构体
    AniScriptParser::AniInfo StructAniInfo(std::string path);
    AniScriptParser::AlsInfo StructAlsInfo(std::string path);
    // Script读取体
    ScriptData GetScriptInfo(std::string path);
};
