Classe Screen melitonada

This commit is contained in:
2024-09-28 11:11:11 +02:00
parent f2cc0dc352
commit 92f7f540c0
19 changed files with 90 additions and 54 deletions

View File

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