ecs: refactor comptime.zig -> Archetype.zig

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2024-04-06 14:25:19 -07:00 committed by Stephen Gutekanst
parent 883a9a7807
commit 679a05faf4
5 changed files with 77 additions and 84 deletions

View file

@ -116,7 +116,7 @@ test "example" {
try testing.expectEqual(@as(usize, 1001), ids[0]);
// TODO: can't write @as type here easily due to generic parameter, should be exposed
// ?comp.ArchetypeSlicer(all_components)
// ?Archetype.Slicer(all_components)
try testing.expectEqual(iter.next(), null);
//-------------------------------------------------------------------------