Expose tick interval constant and simplify handler

Move the 33 ms tick interval into `tick` as a public constant `TICK_MS`
and drop the parameter from `handle_tick_event`.
Update re‑exports and callers accordingly
This commit is contained in:
GarandPLG committed 2026-05-05 13:58:17 +02:00
1 parent b1183175be
commit 35209dd064
3 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -4,4 +4,4 @@ mod tick;
pub use audio::{AudioCmd, SoundrackParts, Soundtrack, handle_audio};
pub use events::handle_ct_events;
pub use tick::handle_tick_event;
pub use tick::{TICK_MS, handle_tick_event};