La música la tiene ahora la clase Director
This commit is contained in:
@@ -187,4 +187,20 @@ std::string Asset::getTypeName(int type)
|
||||
void Asset::setVerbose(bool value)
|
||||
{
|
||||
verbose = value;
|
||||
}
|
||||
|
||||
// Devuelve la lista de recursos de un tipo
|
||||
std::vector<std::string> Asset::getListByType(assetType type)
|
||||
{
|
||||
std::vector<std::string> list;
|
||||
|
||||
for (auto f : fileList)
|
||||
{
|
||||
if (f.type == type)
|
||||
{
|
||||
list.push_back(f.file);
|
||||
}
|
||||
}
|
||||
|
||||
return list;
|
||||
}
|
||||
Reference in New Issue
Block a user