utils::InputMap
Bidirectional map between sf::Keyboard::Key and std::string. More...
Public Functions
Detailed Description
template <typename T >
class utils::InputMap;Bidirectional map between sf::Keyboard::Key and std::string.
Public Functions Documentation
function InputMap
inline explicit InputMap(
std::size_t keySize,
std::size_t offset
)function insert
inline void insert(
T t,
const std::string & str
)function at
inline const std::string & at(
T t
) constExceptions:
std::out_of_range if string is not in the map
function at
inline T at(
const std::string & string
) constExceptions:
std::out_of_range if string is not in the map
Updated on 2022-11-13 at 17:21:37 +0100
Last updated