generated from GarandPLG/rust-flake-template
Refactor App to use unified AppChannels for events
App now receives an AppChannels struct; AppEvent enum removed. Event handling, tick generation, and audio communication are now performed through dedicated channels.
This commit is contained in:
1 parent
7fb001faab
commit
7541db79d8
9 files changed
+123
-105
No files matched your search
@@ -1,7 +1,9 @@
|
||||
mod app_channels;
|
||||
mod audio;
|
||||
mod events;
|
||||
mod tick;
|
||||
|
||||
pub use app_channels::AppChannels;
|
||||
pub use audio::{AudioCmd, SoundrackParts, Soundtrack, handle_audio};
|
||||
pub use events::{AppEvent, handle_events};
|
||||
pub use tick::spawn_tick_thread;
|
||||
pub use events::handle_ct_events;
|
||||
pub use tick::handle_tick_event;
|
||||
Reference in new issue
Block a user