aboutsummaryrefslogtreecommitdiff
path: root/src/main.zig
blob: 29b7db5ac52727e7c0c0d5441b9f08db25daf559 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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.draw();
}