getX, getY, getType
This commit is contained in:
parent
46731482c8
commit
28357d2303
|
|
@ -2,16 +2,20 @@ package backend;
|
|||
|
||||
public class Piece {
|
||||
|
||||
public int x;
|
||||
public int y;
|
||||
public PieceType type;
|
||||
|
||||
public int getX() {
|
||||
return 0;
|
||||
return x;
|
||||
}
|
||||
|
||||
public int getY() {
|
||||
return 0;
|
||||
return y;
|
||||
}
|
||||
|
||||
public PieceType getType() {
|
||||
return null;
|
||||
return type;
|
||||
}
|
||||
|
||||
public boolean isWhite() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue