Return true if the entity is still valid (not destroyed)
| 72 | |
| 73 | // Return true if the entity is still valid (not destroyed) |
| 74 | RP3D_FORCE_INLINE bool EntityManager::isValid(Entity entity) const { |
| 75 | return mGenerations[entity.getIndex()] == entity.getGeneration(); |
| 76 | } |
| 77 | |
| 78 | } |
| 79 |
nothing calls this directly
no test coverage detected