From 5360be5b0e16c1ee9851d99d3e73c08c6e56a11a Mon Sep 17 00:00:00 2001 From: prime31 Date: Tue, 18 Aug 2020 11:51:43 -0700 Subject: [PATCH] Update README.md --- zig-ecs/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zig-ecs/README.md b/zig-ecs/README.md index 387f300..54a24ad 100644 --- a/zig-ecs/README.md +++ b/zig-ecs/README.md @@ -34,9 +34,9 @@ while (iter.next()) |entity| { } ``` -The same example using a non-owning Group: +The same example using an owning Group: ```zig -var group = reg.group(.{}, .{ Velocity, Position }, .{}); +var group = reg.group(.{ Velocity, Position }, .{}, .{}); group.each(each); fn each(e: struct { vel: *Velocity, pos: *Position }) void {