animations
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user