pub enum TutorialPart {
Tutorial(Tutorial),
Step(TutorialStep),
SetupDialog {
a: Vec<String>,
b: Vec<String>,
s40: String,
r50: Option<String>,
i48: i32,
component: String,
i70: i32,
},
SetupCamera([i32; 4]),
SetupGameSpeed {
speed: i32,
b24: bool,
},
SetupRestrictPlayer {
values: [i32; 5],
s38: String,
s50: String,
},
GoalButton {
s20: String,
b28: bool,
},
GoalCount {
e20: i32,
i24: i32,
s30: String,
b28: bool,
s48: String,
},
GoalDialog {
s20: String,
component: String,
},
GoalGameSpeed(i32),
Image {
i28: i32,
i2c: i32,
r20: Option<String>,
extra: ImageExtra,
},
}Expand description
One part of a tutorial: the tutorial itself, a step, or a set-up dialog.
Variants§
Tutorial(Tutorial)
The tutorial.
Step(TutorialStep)
A step.
SetupDialog
A set-up that limits the interface and points at an element.
Fields
SetupCamera([i32; 4])
Moves the camera to two cells.
SetupGameSpeed
Sets the game speed.
SetupRestrictPlayer
Limits what the player may place, and where.
Fields
GoalButton
An element was pressed.
GoalCount
A count reached a number.
Fields
GoalDialog
A dialog is open.
GoalGameSpeed(i32)
The game speed is this value.
Image
A TutorialImage and its classes.
Trait Implementations§
Source§impl Clone for TutorialPart
impl Clone for TutorialPart
Source§fn clone(&self) -> TutorialPart
fn clone(&self) -> TutorialPart
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TutorialPart
impl Debug for TutorialPart
Source§impl PartialEq for TutorialPart
impl PartialEq for TutorialPart
impl StructuralPartialEq for TutorialPart
Auto Trait Implementations§
impl Freeze for TutorialPart
impl RefUnwindSafe for TutorialPart
impl Send for TutorialPart
impl Sync for TutorialPart
impl Unpin for TutorialPart
impl UnsafeUnpin for TutorialPart
impl UnwindSafe for TutorialPart
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more