|
|
|
@ -274,7 +274,8 @@ fn transition(
|
|
|
|
TutorialState::PieceJump
|
|
|
|
TutorialState::PieceJump
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// A piece moves sides, so talk about ownership
|
|
|
|
// A piece moves sides, so talk about ownership
|
|
|
|
} else if !(*seen).contains(&TutorialState::Ownership) && transitions.iter().count() > 0 {
|
|
|
|
} else if !(*seen).contains(&TutorialState::Ownership) && transitions.iter().count() > 0
|
|
|
|
|
|
|
|
{
|
|
|
|
TutorialState::Ownership
|
|
|
|
TutorialState::Ownership
|
|
|
|
// We have visited all relevant tutorial points, say goodbye
|
|
|
|
// We have visited all relevant tutorial points, say goodbye
|
|
|
|
} else if (*seen).contains(&TutorialState::PieceIntro)
|
|
|
|
} else if (*seen).contains(&TutorialState::PieceIntro)
|
|
|
|
@ -282,7 +283,8 @@ fn transition(
|
|
|
|
&& (*seen).contains(&TutorialState::PieceDrone)
|
|
|
|
&& (*seen).contains(&TutorialState::PieceDrone)
|
|
|
|
&& (*seen).contains(&TutorialState::PiecePawn)
|
|
|
|
&& (*seen).contains(&TutorialState::PiecePawn)
|
|
|
|
&& (*seen).contains(&TutorialState::PieceJump)
|
|
|
|
&& (*seen).contains(&TutorialState::PieceJump)
|
|
|
|
&& (*seen).contains(&TutorialState::Ownership) {
|
|
|
|
&& (*seen).contains(&TutorialState::Ownership)
|
|
|
|
|
|
|
|
{
|
|
|
|
TutorialState::Outro
|
|
|
|
TutorialState::Outro
|
|
|
|
// Default, empty (tutorial doesn't always need to show something)
|
|
|
|
// Default, empty (tutorial doesn't always need to show something)
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
|