Impl: Get possible values from row

This commit is contained in:
Jonas Zeunert
2024-02-19 18:55:27 +01:00
parent 4199084e6b
commit beaa3cfd61
2 changed files with 25 additions and 5 deletions

View File

@@ -2,7 +2,7 @@ use std::fmt;
#[derive(PartialEq, Debug, Clone)]
pub struct Playfield {
size: usize,
pub size: usize,
pub fields: Vec<Vec<Field>>,
pub open_fields: Vec<usize>,
}
@@ -20,7 +20,7 @@ impl Playfield {
playfield.parse(field);
return playfield;
playfield
}
fn parse(&mut self, field: &String) {