module: object recycling
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
8054d03b4d
commit
9d134dc72d
15 changed files with 396 additions and 90 deletions
|
|
@ -58,7 +58,7 @@ fn init(
|
|||
sprite: *gfx.Sprite.Mod,
|
||||
sprite_pipeline: *gfx.SpritePipeline.Mod,
|
||||
app: *App,
|
||||
app_mod: mach.Functions(App),
|
||||
app_mod: mach.Mod(App),
|
||||
) !void {
|
||||
core.on_tick = app_mod.id.tick;
|
||||
core.on_exit = app_mod.id.deinit;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue