use crate::render::{AtlasLayout, Renderer}; use hurrycurry_protocol::glam::Vec2; use sdl2::keyboard::KeyboardState; pub struct Menu {} impl Default for Menu { fn default() -> Self { Self::new() } } impl Menu { pub fn new() -> Self { Self {} } pub fn tick(&mut self, _dt: f32, _keyboard: &KeyboardState, _layout: &AtlasLayout) {} pub fn draw(&self, ctx: &mut Renderer) { ctx.draw_text(Vec2::new(1., 1.), "Hello world!"); } }