module: add new query API
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
22feb42730
commit
3bd46d078d
3 changed files with 238 additions and 72 deletions
|
|
@ -19,6 +19,8 @@ pub const builtin_modules = .{EntityModule};
|
|||
pub const EntityModule = struct {
|
||||
pub const name = .entity;
|
||||
|
||||
pub const Mod = mach.Mod(@This());
|
||||
|
||||
pub const components = .{
|
||||
.id = .{ .type = EntityID, .description = "Entity ID" },
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue