pymasep.engine.environment_engine ================================= .. py:module:: pymasep.engine.environment_engine Classes ------- .. autoapisummary:: pymasep.engine.environment_engine.EnvironmentEngine Module Contents --------------- .. py:class:: EnvironmentEngine(id_env = None, cfg = None) Bases: :py:obj:`pymasep.common.environment.Environment` Represents the environment of the game (Engine part). This object keeps all dynamic values of the game. This environment handles all controllers for external agents (interface) as ExternalController :param id_env: the id of the environment. If None, a new uuid will be set :parm cfg: the configuration of the environment .. py:method:: get_type_controller(xml_node = None, template = None, control = None) Get the type of controller according to a template or (exclusive) an XML node. :param xml_node: XML node used to get the controller type. Use the attribute "controller". :param template: The template used to get the controller type. :param control: 'Interface' if the agent is controlled by interface (only inside engine, and if template is used) :return: the class of the controller to use. Default is ExternalController