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 "section.h"
// Constructor
DefineButtons::DefineButtons(Input *input, Text *text)
DefineButtons::DefineButtons(Text *text)
{
// Copia punteros a los objetos
this->input = input;
input = Input::get();
this->text = text;
// Inicializa variables