docstr: Returns action space:
      if both binary and delta buttons defined in the config file, action space will be:
        ``Dict("binary": MultiDiscrete|Discrete, "continuous", Box)``
      else:
        action space will be only one of the following ``MultiDiscrete``|``Discrete``|``Box``
docstr_tok: ["Returns","action","space",":","if","both","binary","and","delta","buttons","defined","in","the","config","file",",","action","space","will","be",":","``","Dict","(","``","binary","''",":","MultiDiscrete|Discrete",",","``","continuous","''",",","Box",")","``","else",":","action","space","will","be","only","one","of","the","following","``","MultiDiscrete","``","|","``","Discrete","``","|","``","Box","``"]
code: def __get_action_space(self):
      """
      Returns action space:
          if both binary and delta buttons defined in the config file, action space will be:
            ``Dict("binary": MultiDiscrete|Discrete, "continuous", Box)``
          else:
            action space will be only one of the following ``MultiDiscrete``|``Discrete``|``Box``
      """
      if self.num_delta_buttons == 0:
          return self.__get_binary_action_space()
      elif self.num_binary_buttons == 0:
          return self.__get_continuous_action_space()
      else:
          return gym.spaces.Dict(
              {
                  "binary": self.__get_binary_action_space(),
                  "continuous": self.__get_continuous_action_space(),
              }
          )
  
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 14 for calling the VizdoomEnv obj's underlying member method code with example usage: obj.__get_action_space() and returns: self, self, gym