uhhh
This commit is contained in:
parent
a2a2d771d6
commit
01001f2ffa
1 changed files with 2 additions and 2 deletions
|
@ -121,7 +121,7 @@ enum StateMachine {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl StateMachine {
|
impl StateMachine {
|
||||||
fn new(mut rng: impl ::rand_core::RngCore) -> Self {
|
pub fn new(mut rng: impl ::rand_core::RngCore) -> Self {
|
||||||
match rng.next_u32() % 10 {
|
match rng.next_u32() % 10 {
|
||||||
0 => StateMachine::Uwu { left: 3 },
|
0 => StateMachine::Uwu { left: 3 },
|
||||||
1 => StateMachine::CatgirlNonsense(CatgirlNonsenseMachine::new()),
|
1 => StateMachine::CatgirlNonsense(CatgirlNonsenseMachine::new()),
|
||||||
|
@ -160,7 +160,7 @@ impl StateMachine {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn generate(self, mut rng: impl ::rand_core::RngCore) -> (Self, char) {
|
pub fn generate(self, mut rng: impl ::rand_core::RngCore) -> (Self, char) {
|
||||||
match self {
|
match self {
|
||||||
StateMachine::Uwu { left } => match left {
|
StateMachine::Uwu { left } => match left {
|
||||||
3 => (StateMachine::Uwu { left: 2 }, 'u'),
|
3 => (StateMachine::Uwu { left: 2 }, 'u'),
|
||||||
|
|
Loading…
Reference in a new issue