blob: 1b051fce232f85bca71a85383ddb6286485eb381 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
const game = @import("game.zig");
const std = @import("std");
const utils = @import("utils.zig");
const w4 = @import("wasm4.zig");
//----- Globals ---------------------------------------------------------------
var Game: game.Game = undefined;
export fn start() void {
Game.reset();
}
export fn update() void {
Game.update();
Game.draw();
}
|