diff options
author | metamuffin <metamuffin@disroot.org> | 2024-07-17 20:32:06 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-07-17 20:32:06 +0200 |
commit | 356e6976f10973ec5e1678534c9d8d9742033bee (patch) | |
tree | 455e671ff0c24b876f3156ee56e61e43d608decb /pixel-client/src/menu.rs | |
parent | 4e2f42cc87e33752c76e866009786d4f827d9cb2 (diff) | |
download | hurrycurry-356e6976f10973ec5e1678534c9d8d9742033bee.tar hurrycurry-356e6976f10973ec5e1678534c9d8d9742033bee.tar.bz2 hurrycurry-356e6976f10973ec5e1678534c9d8d9742033bee.tar.zst |
a
Diffstat (limited to 'pixel-client/src/menu.rs')
-rw-r--r-- | pixel-client/src/menu.rs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/pixel-client/src/menu.rs b/pixel-client/src/menu.rs new file mode 100644 index 00000000..d1f43a84 --- /dev/null +++ b/pixel-client/src/menu.rs @@ -0,0 +1,17 @@ +use crate::render::{AtlasLayout, SpriteRenderer}; +use sdl2::keyboard::KeyboardState; + +pub struct Menu {} + +impl Menu { + pub fn new() -> Self { + Self {} + } + pub fn tick(&mut self, dt: f32, keyboard: &KeyboardState, layout: &AtlasLayout) {} + pub fn draw(&self, ctx: &mut SpriteRenderer) { + + + + + } +} |