style: renomenat InputType a InputActions

This commit is contained in:
2025-03-16 18:57:08 +01:00
parent 1b38a5a581
commit 43a1f1a8f6
13 changed files with 199 additions and 199 deletions

View File

@@ -8,16 +8,16 @@
#include <vector> // Para vector
class Input; // lines 8-8
class Text; // lines 9-9
enum class InputType : int; // lines 10-10
enum class InputAction : int; // lines 10-10
struct DefineButtonsButton
{
std::string label; // Texto en pantalla para el botón
InputType input; // Input asociado
InputAction input; // Input asociado
SDL_GameControllerButton button; // Botón del mando correspondiente
// Constructor
DefineButtonsButton(const std::string &lbl, InputType inp, SDL_GameControllerButton btn)
DefineButtonsButton(const std::string &lbl, InputAction inp, SDL_GameControllerButton btn)
: label(lbl), input(inp), button(btn) {}
};