Don melitonada la classe Asset

This commit is contained in:
2024-09-28 13:49:00 +02:00
parent 878518babe
commit fa82758ce1
23 changed files with 99 additions and 56 deletions

View File

@@ -4,12 +4,12 @@
#include <iostream>
// Constructor
Logo::Logo(Asset *asset, Input *input)
Logo::Logo(Input *input)
{
// Copia la dirección de los objetos
screen = Screen::get();
this->asset = asset;
this->input = input;
screen = Screen::get();
asset = Asset::get();
SDL_Renderer *renderer = screen->getRenderer();
// Reserva memoria para los punteros