getX and Y
This commit is contained in:
parent
15b3250c7e
commit
45cf50f6ff
|
|
@ -2,12 +2,15 @@ package backend;
|
||||||
|
|
||||||
public class Piece {
|
public class Piece {
|
||||||
|
|
||||||
|
private int x;
|
||||||
|
private int y;
|
||||||
|
|
||||||
public int getX() {
|
public int getX() {
|
||||||
return 0;
|
return this.x;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getY() {
|
public int getY() {
|
||||||
return 0;
|
return this.y;
|
||||||
}
|
}
|
||||||
|
|
||||||
public PieceType getType() {
|
public PieceType getType() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue