MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / clearContexts

Method clearContexts

src/Core/Input/InputManager.cpp:188–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186 }
187
188 void InputManager::clearContexts()
189 {
190 for (InputAction* action : m_currentActions)
191 {
192 action->disable();
193 }
194 m_currentActions.clear();
195 // m_monitors.clear();
196 }
197
198 InputManager& InputManager::addContext(const std::string& context)
199 {

Callers 1

setContextMethod · 0.95

Calls 2

disableMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected