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

Method Clear

SDK/src/NDK/World.cpp:116–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114 */
115
116 void World::Clear() noexcept
117 {
118 // First, destruction of entities, then handles
119 // This is made to avoid that handle warn uselessly entities before their destruction
120 m_entities.clear();
121 m_entityBlocks.clear();
122 m_freeIdList.clear();
123 m_waitingEntities.clear();
124
125 m_aliveEntities.Clear();
126 m_dirtyEntities.Clear();
127 m_killedEntities.Clear();
128 }
129
130 /*!
131 * \brief Clones the entity

Callers 5

DestroyMethod · 0.45
OnUpdateMethod · 0.45
~TextMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected