From 98c7d397328e7aea09b75431cb9fc820040f8c2b Mon Sep 17 00:00:00 2001 From: Jose Srifi Date: Tue, 2 Apr 2019 17:42:22 +0200 Subject: [PATCH] sauvegarde des fichiers echiquiers pieces et position --- src/piecesEchiquier/Echiquier.java | 1 + src/piecesEchiquier/Piece.java | 2 +- src/piecesEchiquier/Position.java | 0 3 files changed, 2 insertions(+), 1 deletion(-) mode change 100644 => 100755 src/piecesEchiquier/Position.java diff --git a/src/piecesEchiquier/Echiquier.java b/src/piecesEchiquier/Echiquier.java index 7ab1ae8..28f2cd3 100755 --- a/src/piecesEchiquier/Echiquier.java +++ b/src/piecesEchiquier/Echiquier.java @@ -13,6 +13,7 @@ public class Echiquier { {"2A","2B","2C","2D","2E","2F","2G","2H"}, {"1A","1B","1C","1D","1E","1F","1G","1H"} }; +//a refaire public Pion pionB1 = new Pion("Blanc",codes[6][0],'P'); public Pion pionB2 = new Pion("Blanc",codes[6][1],'P'); public Pion pionB3 = new Pion("Blanc",codes[6][2],'P'); diff --git a/src/piecesEchiquier/Piece.java b/src/piecesEchiquier/Piece.java index cb3b9dc..8b8fc25 100755 --- a/src/piecesEchiquier/Piece.java +++ b/src/piecesEchiquier/Piece.java @@ -5,7 +5,7 @@ public class Piece { //variables - private boolean couleur; + private boolean couleur; /* True = blanc & Flase = noir */ private Position emplacement; private char lettre = '.'; private boolean enVie = true; diff --git a/src/piecesEchiquier/Position.java b/src/piecesEchiquier/Position.java old mode 100644 new mode 100755