sauvegarde des fichiers echiquiers pieces et position
This commit is contained in:
parent
43ba7daf15
commit
98c7d39732
@ -13,6 +13,7 @@ public class Echiquier {
|
|||||||
{"2A","2B","2C","2D","2E","2F","2G","2H"},
|
{"2A","2B","2C","2D","2E","2F","2G","2H"},
|
||||||
{"1A","1B","1C","1D","1E","1F","1G","1H"}
|
{"1A","1B","1C","1D","1E","1F","1G","1H"}
|
||||||
};
|
};
|
||||||
|
//a refaire
|
||||||
public Pion pionB1 = new Pion("Blanc",codes[6][0],'P');
|
public Pion pionB1 = new Pion("Blanc",codes[6][0],'P');
|
||||||
public Pion pionB2 = new Pion("Blanc",codes[6][1],'P');
|
public Pion pionB2 = new Pion("Blanc",codes[6][1],'P');
|
||||||
public Pion pionB3 = new Pion("Blanc",codes[6][2],'P');
|
public Pion pionB3 = new Pion("Blanc",codes[6][2],'P');
|
||||||
|
@ -5,7 +5,7 @@ public class Piece {
|
|||||||
|
|
||||||
//variables
|
//variables
|
||||||
|
|
||||||
private boolean couleur;
|
private boolean couleur; /* True = blanc & Flase = noir */
|
||||||
private Position emplacement;
|
private Position emplacement;
|
||||||
private char lettre = '.';
|
private char lettre = '.';
|
||||||
private boolean enVie = true;
|
private boolean enVie = true;
|
||||||
|
0
src/piecesEchiquier/Position.java
Normal file → Executable file
0
src/piecesEchiquier/Position.java
Normal file → Executable file
Loading…
x
Reference in New Issue
Block a user