style: renomenat InputType a InputActions
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
#include "options.h" // Para Options, OptionsGame, options
|
||||
#include "utils.h" // Para Circle
|
||||
class Texture; // lines 13-13
|
||||
enum class InputType : int; // lines 14-14
|
||||
enum class InputAction : int; // lines 14-14
|
||||
enum class ScoreboardMode; // lines 15-15
|
||||
|
||||
// Estados del jugador
|
||||
@@ -152,13 +152,13 @@ public:
|
||||
void setPlayerTextures(const std::vector<std::shared_ptr<Texture>> &texture);
|
||||
|
||||
// Actua en consecuencia de la entrada recibida
|
||||
void setInput(InputType input);
|
||||
void setInput(InputAction input);
|
||||
|
||||
// Procesa inputs para cuando está jugando
|
||||
void setInputPlaying(InputType input);
|
||||
void setInputPlaying(InputAction input);
|
||||
|
||||
// Procesa inputs para cuando está introduciendo el nombre
|
||||
void setInputEnteringName(InputType input);
|
||||
void setInputEnteringName(InputAction input);
|
||||
|
||||
// Mueve el jugador a la posición y animación que le corresponde
|
||||
void move();
|
||||
@@ -238,7 +238,7 @@ public:
|
||||
int getScoreBoardPanel() const { return scoreboard_panel_; }
|
||||
int getWidth() const { return WIDTH_; }
|
||||
PlayerState getPlayingState() const { return playing_state_; }
|
||||
const std::string& getName() const { return name_; }
|
||||
const std::string &getName() const { return name_; }
|
||||
bool get1CC() const { return game_completed_ && credits_used_ == 1; }
|
||||
bool getEnterNamePositionOverflow() const { return enter_name_->getPositionOverflow(); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user