You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Both remove the add_systems(.., run_if(on_action(..))) boilerplate: - `#[action_handler(path)]` derive attribute colocates a handler with its action variant and wires it for its kind — a gated plain system for instant/toggle, a typed pipe (axis_value/scalar_value) plus gate for axis/scalar. The derive generates an `impl GameActionHandlers` (empty when no variant declares one), which ActionsPlugin calls on build. - `App::on_action(schedule, action, system)` (AppActionExt) — the explicit, no-macro form that keeps registration visible in main. ActionsPlugin's Plugin impl now requires T: GameActionHandlers (satisfied automatically by the derive). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
6 days ago | |
|---|---|---|
| .cargo | 1 month ago | |
| .templates | 1 month ago | |
| engine | 6 days ago | |
| life | 1 week ago | |
| prototypes | 1 month ago | |
| scripts | 3 weeks ago | |
| web | 1 month ago | |
| .envrc | 1 month ago | |
| .gitignore | 4 weeks ago | |
| flake.lock | 1 month ago | |
| flake.nix | 1 month ago | |
| justfile | 1 month ago | |
| rust-toolchain.toml | 1 month ago | |