@classmethod
def gen_next(cls, dict_):
    """
        This function allows to change the dictionnary of the action that the agent will perform.

        Parameters
        ----------
        dict_: ``dict``
            A dictionnary representing an action. This dictionnary is assumed to be convertible into an action.
            No check is performed at this stage.


        """
    cls.my_dict = dict_
    return cls
