| 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 |
no outgoing calls
no test coverage detected