mirror of
https://github.com/bevyengine/bevy
synced 2024-12-19 09:33:06 +00:00
48fb4aa6d5
# Objective This PR update breakout to use the new 0.15 Required Component feature instead of the Bundle. Add more information in the comment about where to find more info about Required Components. ## Solution Replace `#[derive(Bundle)]` with a new Wall component and `#[require()]` Macro to include the other components. ## Testing Tested with `cargo test` as well tested the game manually with `cargo run --example breakout` It looks to me that it works like it used to before the changes. Tested on Arch Linux, Wayland --------- Co-authored-by: Arnav Mummineni <45217840+RCoder01@users.noreply.github.com> Co-authored-by: Joona Aalto <jondolf.dev@gmail.com> |
||
---|---|---|
.. | ||
alien_cake_addict.rs | ||
breakout.rs | ||
contributors.rs | ||
desk_toy.rs | ||
game_menu.rs | ||
loading_screen.rs | ||
stepping.rs |