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

Method doesColliderExists

src/Core/Scene/Scene.cpp:773–783  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

771 }
772
773 bool Scene::doesColliderExists(const std::string& id)
774 {
775 for (auto& collider : m_colliderArray)
776 {
777 if (collider->getId() == id)
778 {
779 return true;
780 }
781 }
782 return false;
783 }
784
785 void Scene::removeCollider(const std::string& id)
786 {

Callers 1

Scene.cppFile · 0.80

Calls 1

getIdMethod · 0.80

Tested by

no test coverage detected