examples: import mach-examples@20ceb359231ff284cf343dddba8cf25112ffe717

Helps hexops/mach#1165

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2024-03-06 11:08:19 -07:00
parent f25f435275
commit 0a8e22bb49
19 changed files with 3147 additions and 0 deletions

16
examples/glyphs/main.zig Normal file
View file

@ -0,0 +1,16 @@
// Experimental ECS app example. Not yet ready for actual use.
const mach = @import("mach");
const Game = @import("Game.zig");
const Text = @import("Text.zig");
// The list of modules to be used in our application. Our game itself is implemented in our own
// module called Game.
pub const modules = .{
mach.Engine,
mach.gfx.Sprite,
Text,
Game,
};
pub const App = mach.App;