examples: rename main modules -> App

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2024-04-28 11:14:42 -07:00 committed by Stephen Gutekanst
parent e0640cc948
commit fb37f74d41
12 changed files with 14 additions and 16 deletions

View file

@ -33,7 +33,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 = .{

View file

@ -5,7 +5,7 @@ pub const modules = .{
mach.Core,
mach.gfx.Sprite,
mach.gfx.SpritePipeline,
@import("Game.zig"),
@import("App.zig"),
};
// TODO(important): use standard entrypoint instead