public void backMove(){
		//cofa ostatni ruch
		if((boardLog.getPossStart()==null)) return;

		if((boardLog.getPossStart()[0]==-1)) return;
		
		if(numbClick==1) {
			JOptionPane.showMessageDialog(null, "Nie wykonales ruchu");
			return;
		}
		
			
		boardLog.backMove(!site);
		if(ai) {
			if(aiDest==null) System.out.println("aiDest to null");
			if(boardLog.getAiPossStart()==null) System.out.println("startAiPoss to null");
			System.out.println("\n CofamAI z  ----- "+aiDest[0]+aiDest[1]+" na "+boardLog.getAiPossStart()[0]+boardLog.getAiPossStart()[1]);

			boardLog.doMove(aiDest, boardLog.getAiPossStart());
			if(!boardLog.wasAiKing()){
				((BlackField)boardLog.getField(boardLog.getAiPossStart()[0],boardLog.getAiPossStart()[1])).getPawn().removeKing();
			}
			}
		boardLog.doMove(dest, boardLog.getPossStart());
		if(!boardLog.wasKing()){
			((BlackField)boardLog.getField(boardLog.getPossStart()[0],boardLog.getPossStart()[1])).getPawn().removeKing();
		}
		System.out.println("\n Cofam z  ----- "+dest[0]+dest[1]+" na "+boardLog.getPossStart()[0]+boardLog.getPossStart()[1]);
		
		site=!site; //cofniecie zmiany stron
		
		plP.setSite(site);
		plP.setp1PG(boardLog.getLostPawnsNumb(false));//licznik zbic dla gracza 1
		plP.setp2PG(boardLog.getLostPawnsNumb(true));//licznik zbic dla gracza 2
		boardLog.clearPawnsToRemoveList();
		boardLog.setPossStart(null);
		boardLog.setAiPossStart(null);
		repaint();
	}