pawker/app/actors/paw.rb
def update(args)
      return unless @easing

      # For now just target the mouse cursor
      # attack(args, args.nokia.mouse)
      #

      case @direction
      when :left, :right
        @x = @easing.current(args)
      when :up, :down
        @y = @easing.current(args)
      end

      if @easing.complete?(args)
        @easing = nil
      end
    end
# If currently on-screen then move off-screen at an accelerating rate.
If currently on-screen then move off-screen at an accelerating rate.
If currently on - screen then move off - screen at an accelerating rate .
def update(args)
      return unless @easing
      case @direction
      when :left, :right
        @x = @easing.current(args)
      when :up, :down
        @y = @easing.current(args)
      end
      if @easing.complete?(args)
        @easing = nil
      end
    end
def update ( args ) return unless @easing case @direction when :left , :right @x = @easing . current ( args ) when :up , :down @y = @easing . current ( args ) end if @easing . complete? ( args ) @easing = nil end end
If currently on-screen then move off-screen at an accelerating rate.
If currently on - screen then move off - screen at an accelerating rate .
# For now just target the mouse cursor # attack(args, args.nokia.mouse) #
args