|
|
|
@ -35,7 +35,7 @@ impl Plugin for Display3dPlugin {
|
|
|
|
set_board_model.run_if(any_component_added::<game::BoardComponent>),
|
|
|
|
set_board_model.run_if(any_component_added::<game::BoardComponent>),
|
|
|
|
set_tile_hitbox.run_if(any_component_added::<game::Tile>),
|
|
|
|
set_tile_hitbox.run_if(any_component_added::<game::Tile>),
|
|
|
|
set_piece_position.run_if(any_component_changed::<BoardIndex>),
|
|
|
|
set_piece_position.run_if(any_component_changed::<BoardIndex>),
|
|
|
|
set_piece_texture.run_if(any_component_changed::<Side>),
|
|
|
|
set_piece_texture.run_if(any_component_changed::<Side>).after(game::set_side),
|
|
|
|
select
|
|
|
|
select
|
|
|
|
.run_if(in_state(GameState::Play))
|
|
|
|
.run_if(in_state(GameState::Play))
|
|
|
|
.run_if(in_state(DisplayState::Display3d))
|
|
|
|
.run_if(in_state(DisplayState::Display3d))
|
|
|
|
|