store rendered tile as entity rather than raw Paragraph
This commit is contained in:
parent
9b99dad50b
commit
4112edbf2a
12 changed files with 63 additions and 47 deletions
|
|
@ -6,7 +6,7 @@ use crate::{
|
|||
player::{MainPlayer, Player},
|
||||
wall::Wall,
|
||||
},
|
||||
tiles::{self, *},
|
||||
tile::{self, *},
|
||||
};
|
||||
|
||||
pub mod hand;
|
||||
|
|
@ -31,7 +31,7 @@ impl Plugin for Riichi {
|
|||
.init_state::<GameState>()
|
||||
.init_resource::<round::MatchSettings>()
|
||||
.init_resource::<round::Compass>()
|
||||
.add_systems(Startup, tiles::init_tiles)
|
||||
.add_systems(Startup, tile::init_tiles)
|
||||
.add_systems(OnEnter(GameState::Setup), setup)
|
||||
.add_systems(OnEnter(GameState::Deal), shuffle_deal)
|
||||
.add_systems(Update, hand::sort_hands.run_if(in_state(GameState::Play)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue