This commit is contained in:
Tao Tien 2026-01-12 20:56:30 -08:00
parent 59399c3590
commit 81cb5c24d4
5 changed files with 17 additions and 43 deletions

View file

@ -1,5 +1,4 @@
use bevy::prelude::*;
use tracing::instrument;
use crate::tiles::{self, *};
@ -25,7 +24,7 @@ impl Plugin for Riichi {
.add_systems(Startup, tiles::init_tiles)
.init_state::<GameState>()
.add_systems(OnEnter(GameState::Setup), (wall::build_wall, hand::deal_hands, setup_done).chain())
// .add_systems(Update, systems)
.add_systems(Update, (hand::sort_hand).run_if(in_state(GameState::Play)))
// semicolon stopper
;
}

View file

@ -1,4 +1,3 @@
use bevy::log::tracing::instrument;
use bevy::prelude::*;
use rand::seq::SliceRandom;