![]() |
Conquer Chess
Chess and Starcraft combined
|
#include "key_bindings.h"#include "action_number.h"#include <cassert>#include <iostream>#include <sstream>
Functions | |
| key_bindings | create_left_keyboard_key_bindings () noexcept |
| Create the key bindings for a player at the left side of a keyboard. | |
| key_bindings | create_right_keyboard_key_bindings () noexcept |
| Create the key bindings for a player at the right side of a keyboard. | |
| sf::Keyboard::Key | get_key_for_action (const key_bindings &k, const action_number &action) noexcept |
| Get the key for a specific action. | |
| void | test_key_bindings () |
| Test this class and its free functions. | |
| bool | operator== (const key_bindings &lhs, const key_bindings &rhs) noexcept |
| std::ostream & | operator<< (std::ostream &os, const key_bindings &keys) noexcept |
|
noexcept |
Create the key bindings for a player at the left side of a keyboard.
|
noexcept |
Create the key bindings for a player at the right side of a keyboard.
|
noexcept |
Get the key for a specific action.
|
noexcept |
|
noexcept |
| void test_key_bindings | ( | ) |
Test this class and its free functions.