Homebrew 4D Game Engine In Rust, inspired by Engine4D

Add name index and lookup methods to World

- Add name_index HashMap to World for O(1) name lookups - Update add_entity() to populate name index for named entities - Update remove_entity() to clean up name index - Update clear() to also clear name index - Add get_by_name() for immutable entity lookup by name - Add get_by_name_mut() for mutable entity lookup by name - Add get_by_tag() iterator for finding entities with a specific tag - Add comprehensive tests for new lookup methods - Fix physics world restitution references to use material.restitution Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>


Author Willow Sparks Co-author Claude Opus 4.5 Date Commit Parent c6257121
+188 -11
2 changed files
+188 -11
2 changed files