basic main menu (change this to generic overlay menu later?)

This commit is contained in:
Tao Tien 2026-01-11 23:41:27 -08:00
parent bc3421a371
commit 759ff410c2
6 changed files with 88 additions and 46 deletions

View file

@ -1,11 +1,13 @@
use bevy::ecs::system::SystemParam;
use bevy::prelude::*;
use bevy_ratatui::RatatuiContext;
use ratatui::widgets::Paragraph;
use ratatui::{
layout::{},
widgets::Paragraph,
};
use jong::{
game::{
GameState,
player::Hand,
wall::{Wall, WallTiles},
},
@ -18,10 +20,3 @@ pub(crate) mod hand;
pub(crate) mod ingame;
mod tiles;
pub(crate) fn draw_mainmenu(
mut tui_ctx: ResMut<RatatuiContext>,
mut tui_state: ResMut<NextState<TuiState>>,
mut game_state: ResMut<NextState<GameState>>,
) {
tui_ctx.draw(|frame| {});
}