animations

This commit is contained in:
2026-06-15 09:15:30 -05:00
parent 77eba1a09c
commit 32aef1ea08
9 changed files with 394 additions and 313 deletions
+1
View File
@@ -18,6 +18,7 @@ pub(crate) const MOVE_COST: f64 = 0.25;
/// Each element of the array passed to the `scroll()` Rhai function becomes a
/// `ScrollLine`: a plain string becomes [`Text`](ScrollLine::Text); a two-element
/// array `[choice, display]` becomes a [`Choice`](ScrollLine::Choice).
#[derive(Clone)]
pub enum ScrollLine {
/// Plain text, word-wrapped to the scroll window width.
Text(String),