Eliminados los comentarios de creación y destrucción de objetos
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user