@Override
    public List<Move> getMoves(ChessBoard board) {
        LinkedList<Move> p = new LinkedList<Move>();
        crossMove(board, p, -1, 0);
        crossMove(board, p, 1, 0);
        crossMove(board, p, 0, -1);
        crossMove(board, p, 0, 1);
        return p;
    }