From 55f7813640efafbdc6ec83f2a11bfb0464d30a11 Mon Sep 17 00:00:00 2001 From: menduz Date: Sun, 23 Jul 2023 17:12:53 -0300 Subject: [PATCH] consistent naming for entityIterator among view implementations --- zig-ecs/src/ecs/views.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zig-ecs/src/ecs/views.zig b/zig-ecs/src/ecs/views.zig index 1afe904..c59c4da 100644 --- a/zig-ecs/src/ecs/views.zig +++ b/zig-ecs/src/ecs/views.zig @@ -142,7 +142,7 @@ pub fn MultiView(comptime n_includes: usize, comptime n_excludes: usize) type { utils.sortSub(usize, u32, sub_items[0..], self.type_ids[0..], asc_usize.sort); } - pub fn iterator(self: *Self) Iterator { + pub fn entityIterator(self: *Self) Iterator { self.sort(); return Iterator.init(self); }