pub var NeonObjectTable = core.EngineObjectVTable.from(@This(), "main"); allocator: std.mem.Allocator, pub fn init(allocator: std.mem.Allocator) !*@This() { const self = try allocator.create(@This()); self.* = .{ .allocator = allocator, }; return self; } pub fn prepare(self: *@This()) !void { _ = self; try api.loadDynamicModules(); } pub fn tick(self: *@This(), dt: f64) void { _ = self; _ = dt; } pub fn deinit(self: *@This()) void { self.allocator.destroy(self); } pub fn main() anyerror!void { var spec = try api.getSpec("minimal"); _ = api.startEngine(&NeonObjectTable, &spec); } const std = @import("std"); const api = @import("backlog"); const core = api.core;