module: rename NamespacedComponents -> ComponentTypesByName
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
2e7cb30bc9
commit
a83f9d5be8
3 changed files with 16 additions and 13 deletions
|
|
@ -1,6 +1,6 @@
|
|||
const std = @import("std");
|
||||
const testing = std.testing;
|
||||
const NamespacedComponents = @import("../module.zig").NamespacedComponents;
|
||||
const ComponentTypesByName = @import("../module.zig").ComponentTypesByName;
|
||||
|
||||
pub const QueryTag = enum {
|
||||
any,
|
||||
|
|
@ -70,7 +70,7 @@ test "query" {
|
|||
|
||||
const Rotation = struct { degrees: f32 };
|
||||
|
||||
const all_components = NamespacedComponents(.{
|
||||
const all_components = ComponentTypesByName(.{
|
||||
struct {
|
||||
pub const name = .game;
|
||||
pub const events = .{};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue