public void personnaliserPartie()
	{
		//while(!getPersoFinie())
		{
			if(this.getNomPiece() == "pieces.Roi") {
				this.E.ajouterPiece(new Roi(this.getCaseCliquee(), this.getCouleurPiece()));
			}


			else if(this.getNomPiece() == "piece.Dame") {

				this.E.ajouterPiece(new Dame(this.getCaseCliquee(), this.getCouleurPiece()));
			}
			else if(this.getNomPiece() == "pieces.Tour") {
				this.E.ajouterPiece(new Tour(this.getCaseCliquee(), this.getCouleurPiece()));
			}
			else if(this.getNomPiece() == "pieces.Fou") {
				this.E.ajouterPiece(new Fou(this.getCaseCliquee(), this.getCouleurPiece()));
			}
			else if(this.getNomPiece() == "pieces.Cavalier") {
				this.E.ajouterPiece(new Cavalier(this.getCaseCliquee(), this.getCouleurPiece()));
			}
			else if(this.getNomPiece() == "pieces.Pion") {
				this.E.ajouterPiece(new Pion(this.getCaseCliquee(), this.getCouleurPiece()));
			}
		}
	}