reorder stuff for tui main menu
This commit is contained in:
parent
3417384b86
commit
130bb38725
4 changed files with 60 additions and 34 deletions
27
src/tui/render/mod.rs
Normal file
27
src/tui/render/mod.rs
Normal 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| {});
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue