eddacraft-tui 0.2.3

Shared Ratatui component library for the eddacraft product family
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Thin shim over the underlying animation runtime so callers depend on
//! eddacraft-tui rather than the third-party crate. This lets us swap the
//! engine without breaking downstream API.

/// Advance the animation clock by `delta_ms`. Call once per frame.
pub fn animate_tick(delta_ms: usize) {
    animate::tick(delta_ms);
}

/// Whether any tracked value is still easing toward its target.
#[must_use]
pub fn is_animating() -> bool {
    animate::is_animating()
}