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

Method doesGameObjectExists

src/Core/Scene/Scene.cpp:522–530  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

520 }
521
522 bool Scene::doesGameObjectExists(const std::string& id)
523 {
524 for (auto& gameObject : m_gameObjectArray)
525 {
526 if (gameObject->getId() == id)
527 return true;
528 }
529 return false;
530 }
531
532 void Scene::removeGameObject(const std::string& id)
533 {

Callers 3

clearMethod · 0.95
loadMethod · 0.95
Scene.cppFile · 0.80

Calls 1

getIdMethod · 0.80

Tested by

no test coverage detected