bevy/crates/bevy_scene/src
Natanael Mojica f135535cd6
Rename Command's "write" method to "apply" (#8814)
# Objective

- Fixes #8811 .

## Solution

- Rename "write" method to "apply" in Command trait definition.
- Rename other implementations of command trait throughout bevy's code
base.

---

## Changelog

- Changed: `Command::write` has been changed to `Command::apply`
- Changed: `EntityCommand::write` has been changed to
`EntityCommand::apply`

## Migration Guide

- `Command::write` implementations need to be changed to implement
`Command::apply` instead. This is a mere name change, with no further
actions needed.
- `EntityCommand::write` implementations need to be changed to implement
`EntityCommand::apply` instead. This is a mere name change, with no
further actions needed.

---------

Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
2023-06-12 17:53:47 +00:00
..
bundle.rs Make bevy_render an optional dependency of bevy_scene (#8136) 2023-04-03 21:23:26 +00:00
dynamic_scene_builder.rs Make scene handling of entity references robust (#7335) 2023-05-01 15:49:27 +00:00
dynamic_scene.rs Rename Command's "write" method to "apply" (#8814) 2023-06-12 17:53:47 +00:00
lib.rs Suppress the clippy::type_complexity lint (#8313) 2023-04-06 21:27:36 +00:00
scene_loader.rs Make bevy_render an optional dependency of bevy_scene (#8136) 2023-04-03 21:23:26 +00:00
scene_spawner.rs Rename Command's "write" method to "apply" (#8814) 2023-06-12 17:53:47 +00:00
scene.rs reflect: stable type path v2 (#7184) 2023-06-05 20:31:20 +00:00
serde.rs Make scene handling of entity references robust (#7335) 2023-05-01 15:49:27 +00:00