we start printing again
This commit is contained in:
parent
65ea256436
commit
59399c3590
7 changed files with 114 additions and 52 deletions
|
|
@ -3,6 +3,7 @@ use tracing::instrument;
|
|||
|
||||
use crate::tiles::{self, *};
|
||||
|
||||
pub mod hand;
|
||||
pub mod player;
|
||||
pub mod wall;
|
||||
|
||||
|
|
@ -23,7 +24,8 @@ impl Plugin for Riichi {
|
|||
.add_systems(Startup, init_match)
|
||||
.add_systems(Startup, tiles::init_tiles)
|
||||
.init_state::<GameState>()
|
||||
.add_systems(OnEnter(GameState::Setup), (wall::build_wall, player::deal_hands, setup_done).chain())
|
||||
.add_systems(OnEnter(GameState::Setup), (wall::build_wall, hand::deal_hands, setup_done).chain())
|
||||
// .add_systems(Update, systems)
|
||||
// semicolon stopper
|
||||
;
|
||||
}
|
||||
|
|
@ -31,6 +33,7 @@ impl Plugin for Riichi {
|
|||
|
||||
fn setup_done(mut next: ResMut<NextState<GameState>>) {
|
||||
next.set(GameState::Play);
|
||||
trace!("setup_done");
|
||||
}
|
||||
|
||||
#[derive(Component)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue