| 110 | } |
| 111 | |
| 112 | bool InputManager::actionExists(const std::string& actionId) |
| 113 | { |
| 114 | for (auto& action : m_allActions) |
| 115 | { |
| 116 | if (action->getId() == actionId) |
| 117 | { |
| 118 | return true; |
| 119 | } |
| 120 | } |
| 121 | return false; |
| 122 | } |
| 123 | |
| 124 | void InputManager::clear() |
| 125 | { |