usg/src/MainMenu/Renderer.zig

16 lines
274 B
Zig

const SDL = @import("sdl2");
const MainMenu = @import("../MainMenu.zig");
const color = @import("../color.zig");
const Self = @This();
renderer: *SDL.SDL_Renderer,
pub fn init(renderer: *SDL.SDL_Renderer) Self {
return Self {
.renderer = renderer,
};
}