Singletonejada la classe Input

This commit is contained in:
2024-09-28 14:19:00 +02:00
parent fa82758ce1
commit 2767696a3f
19 changed files with 87 additions and 44 deletions

View File

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