refactor: trying to do something right!

This commit is contained in:
nativerv
2024-02-19 03:44:00 +03:00
parent 43be3da536
commit 55feb6e67f
5 changed files with 62 additions and 31 deletions
-2
View File
@@ -11,7 +11,6 @@ pub fn action(input: TokenStream) -> TokenStream {
let name = &ast.ident;
let gen = quote! {
impl bevy_controls::contract::Action for #name {}
impl bevy_controls::contract::ActionInner for #name {}
};
gen.into()
}
@@ -23,7 +22,6 @@ pub fn game_state(input: TokenStream) -> TokenStream {
let name = &ast.ident;
let gen = quote! {
impl bevy_controls::contract::GameState for #name {}
impl bevy_controls::contract::GameStateInner for #name {}
};
gen.into()
}