mach/examples/core-custom-entrypoint/main.zig
Stephen Gutekanst d573a59d67 examples: core-custom-entrypoint: minor cleanup
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-04-16 19:15:19 -07:00

15 lines
310 B
Zig

const mach = @import("mach");
// The global list of Mach modules registered for use in our application.
pub const modules = .{
mach.Core,
@import("Game.zig"),
};
pub fn main() !void {
// Initialize mach.Core
try mach.core.initModule();
// Main loop
while (try mach.core.tick()) {}
}