forked from jaildesigner-jailgames/jaildoctors_dilemma
Añadida la clase asset
This commit is contained in:
20
source/asset.cpp
Normal file
20
source/asset.cpp
Normal 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);
|
||||
}
|
||||
Reference in New Issue
Block a user