   # - speed: override the speed of the entity (in px/sec)
   # - rotate: yes/no should the entity rotate along the path?
   # - skip: amount of milliseconds to skip in this animation
-  movePath: (path, settings = {}) ->
+  movePath: (inputPath, settings = {}) ->
     (sequence) =>
       @_verify(sequence)
       return unless @enemy.alive

        c = Math.sqrt(a**2 + b**2)
        d += c
        pp = pn
        { x: x - Crafty.viewport.x, y: y - Crafty.viewport.y }
      )
      duration = (d / settings.speed) * 1000


        [
          type: 'viewportBezier'
          rotation: settings.rotate
          continuePath: settings.continuePath
          path: bezierPath
          duration: duration
        ], skip: settings.skip
