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