Singletonejada la classe Input
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user