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

Method get

src/Core/Graphics/Canvas.cpp:212–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210 }
211
212 CanvasElement* Canvas::get(const std::string& id)
213 {
214 for (auto& elem : m_elements)
215 {
216 if (elem->getId() == id)
217 {
218 return elem.get();
219 }
220 }
221 return nullptr;
222 }
223
224 void Canvas::render(Sprite& target)
225 {

Callers 15

BindingTree.cppFile · 0.45
loadGameObjectMethod · 0.45
GameObject.cppFile · 0.45
createTriggerGroupsMethod · 0.45
InputManager.cppFile · 0.45
configureMethod · 0.45
getInputsMethod · 0.45
getPressedInputsMethod · 0.45
TrajectoryNode.cppFile · 0.45
updateMethod · 0.45
Scene.cppFile · 0.45
drawMethod · 0.45

Calls 1

getIdMethod · 0.80

Tested by

no test coverage detected