mirror of
https://github.com/ApfelTeeSaft/vb01.git
synced 2026-08-26 19:33:45 +00:00
publised method
This commit is contained in:
+1
-1
@@ -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;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user