code: def _updateEffects(self, time_passed):
          
  
          for name in self._effects:
              update_func = getattr(
                  self,
                  '_effectupdate_{}'.format(name.replace("-", "_")),
              )
              update_func(time_passed)
docs: Update method for the effects handle