Browse Source

Add get and set methods to Figure.java

AIPlayer
Jonas Wagner 3 years ago
parent
commit
6890c80034
  1. 7
      src/main/java/Figure.java

7
src/main/java/Figure.java

@ -6,4 +6,11 @@ public class Figure {
this.position = -1; this.position = -1;
} }
public void setPosition(int position) {
this.position = position;
}
public int getPosition() {
return position;
}
} }
Loading…
Cancel
Save