Ajout classe Position

This commit is contained in:
rc804998 2019-04-02 17:20:48 +02:00
parent d9a7b1c532
commit 371b0f8322

View File

@ -0,0 +1,34 @@
package piecesEchiquier;
public class Position {
private int ligne;
private int colonne;
public Position() {
}
public Position(int x, int y)
{
ligne = x;
colonne = y;
}
public int getLigne() {
return ligne;
}
public void setLigne(int ligne) {
this.ligne = ligne;
}
public int getColonne() {
return colonne;
}
public void setColonne(int colonne) {
this.colonne = colonne;
}
}