Acabada la clase asset

This commit is contained in:
2021-09-08 20:09:52 +02:00
parent 94a06dcc2d
commit 726a1b3064
2 changed files with 51 additions and 6 deletions

View File

@@ -11,9 +11,10 @@ enum assetType
bitmap,
music,
sound,
data,
font,
lang
lang,
data,
maxAssetType
};
// Clase Asset
@@ -34,6 +35,9 @@ private:
// Comprueba que existe un fichero
bool checkFile(std::string path);
// Devuelve el nombre del tipo de recurso
std::string getTypeName(int type);
public:
// Constructor
Asset(std::string path);