Añadida la clase asset

This commit is contained in:
2021-09-08 13:59:39 +02:00
parent 994f4187e4
commit a0b14f5071
5 changed files with 70 additions and 2 deletions

20
source/asset.cpp Normal file
View File

@@ -0,0 +1,20 @@
#include "asset.h"
// Constructor
Asset::Asset(std::string path)
{
}
// Destructor
Asset::~Asset()
{
}
// Añade un elemento a la lista
void Asset::add(std::string file, enum assetType type)
{
item_t temp;
temp.file = file;
temp.type = type;
mFileList.push_back(temp);
}