final bei private int number entfernt

currentStatus
Vickvick2002 2025-01-03 21:00:54 +01:00
parent 9d30065f9a
commit 27f1951fb5
1 changed files with 5 additions and 1 deletions

View File

@ -9,7 +9,7 @@ public class HitoriCell {
public enum CellState { public enum CellState {
GRAY, WHITE, BLACK GRAY, WHITE, BLACK
} }
private final int number; private int number;
private CellState state; private CellState state;
public HitoriCell(int number) { public HitoriCell(int number) {
@ -29,4 +29,8 @@ public class HitoriCell {
this.state = state; this.state = state;
} }
public void setNumber(int number) {
this.number = number;
}
} }