reorder stuff for tui main menu

This commit is contained in:
Tao Tien 2026-01-11 22:32:30 -08:00
parent 3417384b86
commit 130bb38725
4 changed files with 60 additions and 34 deletions

27
src/tui/render/mod.rs Normal file
View file

@ -0,0 +1,27 @@
use bevy::ecs::system::SystemParam;
use bevy::prelude::*;
use bevy_ratatui::RatatuiContext;
use ratatui::widgets::Paragraph;
use jong::{
game::{
GameState,
player::Hand,
wall::{Wall, WallTiles},
},
tiles::Tile,
};
use crate::tui::TuiState;
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| {});
}