feat: changed comment for input map
parent
092ba6071a
commit
a61f1efb88
|
@ -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{};
|
||||||
|
|
Loading…
Reference in New Issue