Añadiendo la clase asset

This commit is contained in:
2022-09-26 10:17:54 +02:00
parent 25616e1e6c
commit 9e089e9092
18 changed files with 1190 additions and 622 deletions

View File

@@ -1,6 +1,7 @@
#pragma once
#include <SDL2/SDL.h>
#include "asset.h"
#include <string>
#ifndef LANG_H
@@ -19,12 +20,12 @@
class Lang
{
private:
std::string *mFileList; // Lista de ficheros con los recursos
Asset *mAsset; // Objeto que gestiona todos los ficheros de recursos
std::string mTextStrings[MAX_TEXT_STRINGS]; // Vector con los textos
public:
// Constructor
Lang(std::string *fileList);
Lang(Asset *mAsset);
// Destructor
~Lang();