generated from GarandPLG/rust-flake-template
Rename GameStates to States and adjust keybindings
Replace the old `GameStates` struct with a new `states` module, rename the field in `App` to `states`, and update construction to pass CLI args. Remove the now‑unused `game_states.rs` file and adjust imports accordingly. Update keybinding definitions: change the wildcard symbol to "[All]" and simplify the wildcard detection logic by dropping the modifiers check.
This commit is contained in:
1 parent
2dbe378470
commit
fd0f6defea
8 files changed
+71
-88
No files matched your search
+3
-3
@@ -1,14 +1,14 @@
|
||||
pub mod app;
|
||||
pub mod game_states;
|
||||
pub mod keybind;
|
||||
pub mod keybindings;
|
||||
pub mod states;
|
||||
pub mod view;
|
||||
pub mod views;
|
||||
pub mod widgets;
|
||||
|
||||
pub use app::{App, Event, GameMode, PerkDecks, handle_input_events};
|
||||
pub use game_states::{
|
||||
pub use keybind::handle_keybindings;
|
||||
pub use states::{
|
||||
GameStates, MainMenuState, PerkDecksState, SettingsState, SkillsConfigState, SkirmishState,
|
||||
};
|
||||
pub use keybind::handle_keybindings;
|
||||
pub use view::View;
|
||||
Reference in new issue
Block a user