MCPcopy Create free account
hub / github.com/NazaraEngine/NazaraEngine / DestroyEntity

Method DestroyEntity

SDK/src/NDK/BaseWidget.cpp:145–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143 }
144
145 void BaseWidget::DestroyEntity(Entity* entity)
146 {
147 auto it = std::find(m_entities.begin(), m_entities.end(), entity);
148 NazaraAssert(it != m_entities.end(), "Entity does not belong to this widget");
149
150 m_entities.erase(it);
151 }
152
153 void BaseWidget::Layout()
154 {

Callers

nothing calls this directly

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected