def _config_agents(self, config: Configuration): if self.config is not None and self.config.agents == config.agents: return self.agents = [ Agent( self._sim.get_active_scene_graph().get_root_node(). create_child(), cfg) for cfg in config.agents ]
def _config_agents(self, config: Configuration): if self.config is not None and self.config.agents == config.agents: return self.agents = [Agent(cfg) for cfg in config.agents]
def _config_agents(self, config: Configuration): self.agents = [ Agent(self.get_active_scene_graph().get_root_node().create_child(), cfg) for cfg in config.agents ]