def __init__(self, name=None, config=None):
        """
        Initializes the actor handler.

        :param name: the name of the actor handler
        :type name: str
        :param config: the dictionary with the options (str -> object).
        :type config: dict
        """
        super(ActorHandler, self).__init__(name=name, config=config)
        self._director = self.new_director()
        if not classes.has_dict_handler("ActorHandler"):
            classes.register_dict_handler("ActorHandler", ActorHandler.from_dict)
def __init__ ( self , name = None , config = None ) : super ( ActorHandler , self ) . __init__ ( name = name , config = config ) self . _director = self . new_director ( ) if not classes . has_dict_handler ( "ActorHandler" ) : classes . register_dict_handler ( "ActorHandler" , ActorHandler . from_dict )
Initializes the actor handler.

        :param name: the name of the actor handler
        :type name: str
        :param config: the dictionary with the options (str -> object).
        :type config: dict