store rendered tile as entity rather than raw Paragraph

This commit is contained in:
Tao Tien 2026-01-13 03:32:08 -08:00
parent 9b99dad50b
commit 4112edbf2a
12 changed files with 63 additions and 47 deletions

View file

@ -66,7 +66,7 @@ impl Plugin for RiichiTui {
// gaming
.init_resource::<render::hand::RenderedHand>()
.add_systems(Update, render::hand::render_hand.run_if(in_state(InGame).and(in_state(GameState::Play))))
.add_systems(PostUpdate, render::hand::render_hands.run_if(in_state(InGame).and(in_state(GameState::Play))))
.add_systems(PostUpdate, render::ingame::draw_ingame.run_if(in_state(InGame)))
// semicolon stopper