'This method is called whenever an object is recreated.
Args:
obj (Object): An reference to the game object this handler
belongs to.
init_true (bool, optional): Set when the handler is initializing
and loads the current cmdset.'

def __init__(self, obj, init_true=True):

    self.obj = obj
    self.key = None
    self.current = None
    self.cmdset_stack = [_EmptyCmdSet(cmdsetobj=self.obj)]
    self.mergetype_stack = ['Union']
    self.permanent_paths = ['']
    if init_true:
        self.update(init_mode=True)
