Skip to content

Commit

Permalink
Fix player bounce back bug by explicit system .
Browse files Browse the repository at this point in the history
  • Loading branch information
rahmatnazali committed Jul 8, 2024
1 parent ad78acb commit f613661
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ fn main() {
// Debug::debug_player();
// Debug::debug_player_and_star();
// Debug::debug_player_star_score();
// Debug::debug_enemy();
}

struct Debug;
Expand Down Expand Up @@ -63,4 +64,12 @@ impl Debug {
.add_plugins(ScorePlugin)
.run();
}

fn debug_enemy() {
App::new()
.add_plugins(DefaultPlugins)
.add_plugins(SystemPlugin)
.add_plugins(EnemyPlugin)
.run();
}
}

0 comments on commit f613661

Please sign in to comment.