bevy/benches/benches
Benjamin Brienen b45d83ebda
Rename Add to Queue for methods with deferred semantics (#15234)
# Objective

- Fixes #15106

## Solution

- Trivial refactor to rename the method. The duplicate method `push` was
removed as well. This will simpify the API and make the semantics more
clear. `Add` implies that the action happens immediately, whereas in
reality, the command is queued to be run eventually.
- `ChildBuilder::add_command` has similarly been renamed to
`queue_command`.

## Testing

Unit tests should suffice for this simple refactor.

---

## Migration Guide

- `Commands::add` and `Commands::push` have been replaced with
`Commnads::queue`.
- `ChildBuilder::add_command` has been renamed to
`ChildBuilder::queue_command`.
2024-09-17 00:17:49 +00:00
..
bevy_ecs Rename Add to Queue for methods with deferred semantics (#15234) 2024-09-17 00:17:49 +00:00
bevy_math Fix broken bezier curve benchmark (#14677) 2024-08-12 16:10:11 +00:00
bevy_reflect bevy_reflect: Function reflection terminology refactor (#14813) 2024-08-19 21:52:36 +00:00
bevy_render Add a ComponentIndex and update QueryState creation/update to use it (#13460) 2024-08-06 00:57:15 +00:00
bevy_tasks Fix clippy issue for benches crate (#6806) 2023-01-11 09:32:07 +00:00