feat: changed comment for input map

main
Sara 2024-11-24 00:28:28 +01:00
parent 092ba6071a
commit a61f1efb88
1 changed files with 1 additions and 4 deletions

View File

@ -5,10 +5,7 @@
#include "input_value.hpp" #include "input_value.hpp"
#include "core/signal.hpp" #include "core/signal.hpp"
#include <algorithm> #include <algorithm>
#include <cstdint>
#include <functional>
#include <map> #include <map>
#include <utility>
#include <vector> #include <vector>
#include <SDL2/SDL_events.h> #include <SDL2/SDL_events.h>
#include <SDL2/SDL_gamecontroller.h> #include <SDL2/SDL_gamecontroller.h>
@ -36,7 +33,7 @@ public:
template <class Effect> Effect *get_effect_of_type(); //!< get the first effect from the effects list that is of type Effect template <class Effect> Effect *get_effect_of_type(); //!< get the first effect from the effects list that is of type Effect
}; };
/*! Map input values to functions. /*! Map input bindings to functions.
*/ */
class InputMap { class InputMap {
std::map<std::string, InputAction> bindings{}; std::map<std::string, InputAction> bindings{};