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

Method initInput

src/Core/Engine/Engine.cpp:36–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 t_game->add("Start").trigger("Start").add("End").add("Update").add("Render");
35 }
36 void Engine::initInput()
37 {
38 m_input = std::make_unique<Input::InputManager>();
39 m_input->init(*m_triggers);
40 if (m_config.contains("Input"))
41 {
42 m_input->configure(m_config.at("Input"));
43 }
44 m_input->addContext("game");
45 }
46
47 void Engine::initFramerate()
48 {

Callers 1

initMethod · 0.95

Calls 5

containsMethod · 0.80
addContextMethod · 0.80
initMethod · 0.45
configureMethod · 0.45
atMethod · 0.45

Tested by

no test coverage detected