mirror of
https://github.com/devZoGok/vb01.git
synced 2026-08-26 19:43:30 +00:00
23 lines
384 B
C++
23 lines
384 B
C++
#ifndef ASSET_MANAGER_H
|
|
#define ASSET_MANAGER_H
|
|
|
|
#include "asset.h"
|
|
|
|
#include <vector>
|
|
|
|
namespace vb01{
|
|
class AbstractAssetReader;
|
|
|
|
class AssetManager{
|
|
public:
|
|
static AssetManager* getSingleton();
|
|
void load(AbstractAssetReader*, std::string);
|
|
Asset* getAsset(std::string);
|
|
private:
|
|
AssetManager(){}
|
|
std::vector<Asset*> assets;
|
|
};
|
|
}
|
|
|
|
#endif
|