publised method

This commit is contained in:
devZoGok
2025-03-28 20:21:10 +02:00
parent 044828c7cf
commit dd360d05ea
+1 -1
View File
@@ -11,6 +11,7 @@ namespace vb01{
class AssetManager{ class AssetManager{
public: public:
static AssetManager* getSingleton(); static AssetManager* getSingleton();
void readDir(std::string, std::vector<std::string>&, bool);
void load(std::string, bool = false); void load(std::string, bool = false);
void editAsset(std::string, Asset&); void editAsset(std::string, Asset&);
Asset* getAsset(std::string); Asset* getAsset(std::string);
@@ -19,7 +20,6 @@ namespace vb01{
inline int getNumAssets(){return assets.size();} inline int getNumAssets(){return assets.size();}
private: private:
AssetManager(){} AssetManager(){}
void readDir(std::string, std::vector<std::string>&, bool);
std::vector<Asset*> assets; std::vector<Asset*> assets;
}; };