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

Method addContext

src/Core/Input/InputAction.cpp:35–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33 }
34
35 void InputAction::addContext(const std::string& context)
36 {
37 if (!Utils::Vector::contains(context, m_contexts))
38 m_contexts.push_back(context);
39 }
40
41 void InputAction::setInterval(Time::TimeUnit delay)
42 {

Callers 3

configureMethod · 0.80
setContextMethod · 0.80
initInputMethod · 0.80

Calls 2

containsFunction · 0.50
push_backMethod · 0.45

Tested by

no test coverage detected