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); }