summaryrefslogtreecommitdiff
path: root/ecs/src/component/storage.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2025-01-02 15:29:02 +0100
committerHampusM <hampus@hampusmat.com>2025-01-02 15:29:02 +0100
commitcd32eab01d731c7ec16fd8060a1ebc7bfe4585c2 (patch)
treea1747f696f2ededee8bff1b02caf1a4107f52f3c /ecs/src/component/storage.rs
parentcb57a9f10ed61222709517a9ae0f6dd75a2c2ebd (diff)
refactor(ecs): rename find_entities to iter_archetypes_with_comps
Diffstat (limited to 'ecs/src/component/storage.rs')
-rw-r--r--ecs/src/component/storage.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ecs/src/component/storage.rs b/ecs/src/component/storage.rs
index cb219f1..e939ba7 100644
--- a/ecs/src/component/storage.rs
+++ b/ecs/src/component/storage.rs
@@ -27,7 +27,7 @@ pub struct Storage
impl Storage
{
- pub fn find_entities<CompMetadataList>(
+ pub fn iter_archetypes_with_comps<CompMetadataList>(
&self,
mut comp_metadata_list: CompMetadataList,
) -> ArchetypeRefIter<'_>