|
|
@ -42,8 +42,6 @@ pub fn Context(comptime ctx: anytype) type { |
|
|
|
pub const Pair = @import("./pair.zig").Pair(ctx); |
|
|
|
pub const Pair = @import("./pair.zig").Pair(ctx); |
|
|
|
pub const World = @import("./world.zig").World(ctx); |
|
|
|
pub const World = @import("./world.zig").World(ctx); |
|
|
|
|
|
|
|
|
|
|
|
pub const Path = @import("./path.zig"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// Returns a pointer unique to this context and the provided type |
|
|
|
/// Returns a pointer unique to this context and the provided type |
|
|
|
/// that holds an entity ID. Useful for associating types to entities. |
|
|
|
/// that holds an entity ID. Useful for associating types to entities. |
|
|
|
pub fn lookup(comptime T: type) *c.ecs_entity_t { |
|
|
|
pub fn lookup(comptime T: type) *c.ecs_entity_t { |
|
|
|