pymasep.interface.environment_interface ======================================= .. py:module:: pymasep.interface.environment_interface Classes ------- .. autoapisummary:: pymasep.interface.environment_interface.EnvironmentInterface Module Contents --------------- .. py:class:: EnvironmentInterface(id_env = None, cfg = None) Bases: :py:obj:`pymasep.common.environment.Environment` Represents the environment of the game (Interface part). This object keeps all dynamic value of the game. This environment chooses the action of the agent controlled by the interface. :param id_env: the id of the environment. If None, a new uuid will be set :parm cfg: the configuration of the environment .. py:attribute:: controlled_agent :value: None the agent controlled by the interface .. py:method:: choose_action() tell the agent controlled by interface to choose their action .. py:method:: update_current_next(observation_xml, additional_info) update the current state of the interface from the observation :param observation_xml: observation as XML :param additional_info: additional information