Eliminados los comentarios de creación y destrucción de objetos

This commit is contained in:
2023-05-23 17:41:35 +02:00
parent c31bfc6cae
commit ae6477c2ea
7 changed files with 0 additions and 20 deletions

View File

@@ -79,7 +79,6 @@ textFile_t LoadTextFile(string file, bool verbose)
// Constructor
Text::Text(string textFile, string bitmapFile, SDL_Renderer *renderer)
{
//std::cout << "Construido Text" << std::endl;
// Carga los offsets desde el fichero
textFile_t tf = LoadTextFile(textFile);
@@ -105,7 +104,6 @@ Text::Text(string textFile, string bitmapFile, SDL_Renderer *renderer)
// Constructor
Text::Text(string textFile, Texture *texture, SDL_Renderer *renderer)
{
//std::cout << "Construido Text" << std::endl;
// Carga los offsets desde el fichero
textFile_t tf = LoadTextFile(textFile);
@@ -130,7 +128,6 @@ Text::Text(string textFile, Texture *texture, SDL_Renderer *renderer)
// Constructor
Text::Text(textFile_t *textFile, Texture *texture, SDL_Renderer *renderer)
{
//std::cout << "Construido Text" << std::endl;
// Inicializa variables desde la estructura
boxHeight = textFile->boxHeight;
boxWidth = textFile->boxWidth;
@@ -152,7 +149,6 @@ Text::Text(textFile_t *textFile, Texture *texture, SDL_Renderer *renderer)
// Destructor
Text::~Text()
{
//std::cout << "Destruido Text" << std::endl;
if (sprite != nullptr)
{
delete sprite;