private void crossMove(ChessBoard board, LinkedList<Move> p, int temp1, int temp2) {
        i = j = 0;
        can_continue = true;
        while (can_continue) {
            i = i + temp1;
            j = j + temp2;
            temp = Position.getPosition(getRank() + i, getFile() + j);
            c = board.getCoinAt(temp);
            if (c != null) {
                if (c.getColor() != getColor()) {
                    p.add(new StandardMove(board,getPosition(),temp));
                    if (c != Empty) {
                        can_continue = false;
                    }
                } else {
                    can_continue = false;
                }
            } else {
                can_continue = false;
            }
        }
    }