ecs: refactor comptime.zig -> Archetype.zig
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
883a9a7807
commit
679a05faf4
5 changed files with 77 additions and 84 deletions
|
|
@ -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);
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue