commit de anar a dormir

This commit is contained in:
2024-10-09 23:01:44 +02:00
parent f2fa216b0d
commit 3fa5b227ae
17 changed files with 59 additions and 74 deletions

View File

@@ -7,8 +7,8 @@
#include "utils.h" // for op_controller_t, options_t, param_t, paramGame_t
// Constructor
DefineButtons::DefineButtons(Text *text)
: text(text)
DefineButtons::DefineButtons(std::unique_ptr<Text> text)
: text(std::move(text))
{
// Copia punteros a los objetos
input = Input::get();
@@ -54,14 +54,6 @@ DefineButtons::DefineButtons(Text *text)
}
}
// Actualiza las variables del objeto
void DefineButtons::update()
{
if (enabled)
{
}
}
// Dibuja el objeto en pantalla
void DefineButtons::render()
{