From cf88454384c78818ad2577b873d52bf80177fc34 Mon Sep 17 00:00:00 2001 From: Jose Srifi Date: Tue, 2 Apr 2019 17:13:37 +0200 Subject: [PATCH] Update des couleurs from String to boolean --- src/piecesEchiquier/Cavalier.java | 2 +- src/piecesEchiquier/Fou.java | 2 +- src/piecesEchiquier/Reine.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/piecesEchiquier/Cavalier.java b/src/piecesEchiquier/Cavalier.java index fcd02f1..70b27b5 100755 --- a/src/piecesEchiquier/Cavalier.java +++ b/src/piecesEchiquier/Cavalier.java @@ -2,7 +2,7 @@ package piecesEchiquier; public class Cavalier extends Piece { - public Cavalier(String c, String emp,char l) + public Cavalier(boolean c, String emp,char l) { super(c, emp,l); } diff --git a/src/piecesEchiquier/Fou.java b/src/piecesEchiquier/Fou.java index bf590e6..280b496 100755 --- a/src/piecesEchiquier/Fou.java +++ b/src/piecesEchiquier/Fou.java @@ -2,7 +2,7 @@ package piecesEchiquier; public class Fou extends Piece { - public Fou(String c, String emp,char l) { + public Fou(boolean c, String emp,char l) { super(c, emp,l); } diff --git a/src/piecesEchiquier/Reine.java b/src/piecesEchiquier/Reine.java index 917b50d..c1ab3ea 100755 --- a/src/piecesEchiquier/Reine.java +++ b/src/piecesEchiquier/Reine.java @@ -2,7 +2,7 @@ package piecesEchiquier; public class Reine extends Piece { - public Reine(String c, String emp,char l) { + public Reine(boolean c, String emp,char l) { super(c, emp,l); } }