def _step(self, dt):
        """pumps all the actions in the node actions container

            The actions scheduled to be removed are removed.
            Then a :meth:`.Action.step` is called for each action in the
            node actions container, and if the action doesn't need any more step
            calls, it will be scheduled to be removed. When scheduled to be
            removed, the :meth:`.Action.stop` method for the action is called.

        Arguments:
            dt (float):
                The time in seconds that elapsed since that last time this 
                function was called.
        """
        for x in self.to_remove:
            if x in self.actions:
                self.actions.remove(x)
        self.to_remove = []

        if self.skip_frame:
            self.skip_frame = False
            return

        if len(self.actions) == 0:
            self.scheduled = False
            pyglet.clock.unschedule(self._step)

        for action in self.actions:
            if not action.scheduled_to_remove:
                action.step(dt)
                if action.done():
                    self.remove_action(action)

    # world to local / local to world methods
dataset/ETHPy150Open los-cocos/cocos/cocos/cocosnode.py/CocosNode._step/original