examples: rename main modules -> App
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
e0640cc948
commit
fb37f74d41
12 changed files with 14 additions and 16 deletions
|
|
@ -29,7 +29,7 @@ frame_render_pass: *gpu.RenderPassEncoder = undefined,
|
|||
|
||||
// Define the globally unique name of our module. You can use any name here, but keep in mind no
|
||||
// two modules in the program can have the same name.
|
||||
pub const name = .game;
|
||||
pub const name = .app;
|
||||
pub const Mod = mach.Mod(@This());
|
||||
|
||||
pub const global_events = .{
|
||||
|
|
@ -5,8 +5,8 @@ pub const modules = .{
|
|||
mach.Core,
|
||||
mach.gfx.Sprite,
|
||||
mach.gfx.SpritePipeline,
|
||||
@import("App.zig"),
|
||||
@import("Glyphs.zig"),
|
||||
@import("Game.zig"),
|
||||
};
|
||||
|
||||
// TODO(important): use standard entrypoint instead
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue