bevy/crates/bevy_ecs/src/entity
Hennadii Chernyshchyk c6a1bf063b
Add EntityMap::clear (#9291)
# Objective

If you use `EntityMap` to map entities over network
(https://github.com/lifescapegame/bevy_replicon) you need to reset it
sometimes, but keep allocated memory for reuse.

## Solution

- Add
[clear](https://doc.rust-lang.org/std/collections/struct.HashMap.html#method.clear)
method.

---

## Changelog

### Added

- `EntityMap::clear`.
2023-07-31 22:02:16 +00:00
..
map_entities.rs Add EntityMap::clear (#9291) 2023-07-31 22:02:16 +00:00
mod.rs Fix typos throughout the project (#9090) 2023-07-10 00:11:51 +00:00