|
Doxygen Samurai Engine 0.0.1
Doxygen Samurai Engine Documentation
|
#include <shortcutApi.h>

Classes | |
| struct | Shortcut |
Public Member Functions | |
| void | update (const samurai::Input &input) |
| bool | registerShortcut (const char *name, const char *s, bool *toggle, bool editable=1) |
| const char * | getShortcut (const char *name) |
Public Attributes | |
| std::unordered_map< std::string, Shortcut > | registeredShortcuts |
Definition at line 11 of file shortcutApi.h.
| const char * samurai::ShortcutManager::getShortcut | ( | const char * | name | ) |
| bool samurai::ShortcutManager::registerShortcut | ( | const char * | name, |
| const char * | s, | ||
| bool * | toggle, | ||
| bool | editable = 1 ) |
Definition at line 215 of file shortcutApi.cpp.


| void samurai::ShortcutManager::update | ( | const samurai::Input & | input | ) |
Definition at line 203 of file shortcutApi.cpp.


| std::unordered_map<std::string, Shortcut> samurai::ShortcutManager::registeredShortcuts |
Definition at line 22 of file shortcutApi.h.