![]() # 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`. |
||
---|---|---|
.. | ||
map_entities.rs | ||
mod.rs |