18#include <unordered_map>
19#include <SFML/Window/Event.hpp>
183 KeyMapper(
const std::uint32_t EntityId = 0);
192 const Key mapKey(
const std::any &sfmlKey)
const;
202 const std::string
stringKey(
const std::any &keyCode)
const;
218 const std::string
getInfo(
const unsigned int indent = 0)
const;
221 std::unordered_map<sf::Keyboard::Key, Key> _sfmlKeyToCustom;
222 std::unordered_map<sf::Keyboard::Scancode, Key> _sfmlScanCodeToCustom;
This is the file in charge of containing the constants that are meant to be used throughout the progr...
This is the file that links the EntityNode children.
Macro definitions for logging messages with varying levels of detail and formatting.
This is the file in charge of containing the Log class (the one in charge of outputing info only when...
KeyMapper(const std::uint32_t EntityId=0)
const std::string stringKey(const std::any &keyCode) const
This is the function that wan take either an sf::Keyboard::Key or a sf::Keyboard::Scancode and return...
const Key mapKey(const std::any &sfmlKey) const
This is the function in charge of returning the internal key code equivalent for an sf::Keyboard::Sca...
const std::string getInfo(const unsigned int indent=0) const
This is a function meant for debugging purposes It will dump the current state of the variables upon ...
std::ostream & operator<<(std::ostream &os, const Clock &item)
Outputs the clock's info to a stream.
const std::unordered_map< Key, std::string > keyCodeEquivalence
An unordered map to track the equivalence between the Key and the string representation.