private ArrayList<Move> getAttackingMoves(ArrayList<Move> allMoves) {
		// TODO Auto-generated method stub
		ArrayList<Move> answer = new ArrayList<Move>(allMoves.size()); 
		
		for(Move m : allMoves)
		{
			Piece pieceBeingAttacked=myGame.getPiece(m.getCurrentLocation());
			if(pieceBeingAttacked!=null&&pieceBeingAttacked.isWhite!=this.myColor|| isPawnAttack(m))
			{
				answer.add(m);
			}
		}
		return answer;
	}