docstr: multiagent env wrapper
  
  Args:
      scenario_name (str): scenario of MultiAgentEnv
      seed (int): random seed
docstr_tok: ["multiagent","env","wrapper","Args",":","scenario_name","(","str",")",":","scenario","of","MultiAgentEnv","seed","(","int",")",":","random","seed"]
code: def __init__(self, scenario_name, seed):
      """
      multiagent env wrapper
  
      Args:
          scenario_name (str): scenario of MultiAgentEnv
          seed (int): random seed
      """
      env_list = [
          "simple_attack",
          "simple_adversary",
          "simple_crypto",
          "simple_push",
          "simple_reference",
          "simple_speaker_listener",
          "simple_spread",
          "simple_tag",
          "simple_world_comm",
          "simple_crypto_display",
      ]
      assert (
          scenario_name in env_list
      ), "Env {} not found (valid envs include {})".format(
          scenario_name, env_list
      )
      scenario = load(scenario_name + ".py").Scenario()
      world = scenario.make_world()
      self.env = MultiAgentEnv(
          world,
          scenario.reset_world,
          scenario.reward,
          scenario.observation,
          scenario.info,
      )
      self.env.seed(seed)
  
      self.observation_space = self.env.observation_space
      self.action_space = self.env.action_space
  
file_path: PARL/benchmark/torch/mappo/env_wrappers.py
imports: import numpy
  from multiagent.environment import MultiAgentEnv
  from multiagent.scenarios import load
label_desc: Use image node_id 1 to create a new MPEEnv object from inherited base classes: object with example: obj = MPEEnv(scenario_name, seed)