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.
- Derive Default on ActionSource so it satisfies bevy's template system (Template/FromTemplate are blanket-impl'd only for Clone + Default + Unpin), letting it be spawned as a component in a bsn! scene. The bound sits on the derived Default impl only, so the Component impl stays generic over every GameAction — the fan-in systems keep working for non-Default actions. - Improve #[derive(GameAction)] diagnostics: each now names the offending variant and shows the exact expected syntax (not-an-enum, non-unit variant, missing/duplicate/unknown action_kind, malformed action_handler). - Add a #[cfg(test)] module exercising all four kinds + an #[action_handler] each + ActionsPlugin + App::on_action, proving the macro codegen compiles. 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 | |