Return true if there is a component for a given entity
| 140 | |
| 141 | // Return true if there is a component for a given entity |
| 142 | RP3D_FORCE_INLINE bool Components::hasComponent(Entity entity) const { |
| 143 | return mMapEntityToComponentIndex.containsKey(entity); |
| 144 | } |
| 145 | |
| 146 | // Return true if there is a component for a given entity and if so set the entity index |
| 147 | RP3D_FORCE_INLINE bool Components::hasComponentGetIndex(Entity entity, uint32& entityIndex) const { |
no test coverage detected