code: def __parse_binary_buttons(self, env_action, agent_action):
      if self.num_binary_buttons != 0:
          if self.num_delta_buttons != 0:
              agent_action = agent_action["binary"]
  
          if np.issubdtype(type(agent_action), np.integer):
              agent_action = self.button_map[agent_action]
  
          # binary actions offset by number of delta buttons
          env_action[self.num_delta_buttons :] = agent_action
  
imports: import itertools
  import warnings
  from typing import Optional
  import gymnasium
  import numpy
  import pygame
  from gymnasium.utils import EzPickle
  import vizdoom.vizdoom
label_desc: Use image node_id 3 for calling the VizdoomEnv obj's underlying member method code with example usage: obj.__parse_binary_buttons(env_action, agent_action) without return types