       roomPos = @calculateRoomPosition(pointerTouch)
       pointerTouch.x = roomPos.x
       pointerTouch.y = roomPos.y
-      i++
-    return
-
+    return
 
   ###
   Checks if the mouse has been moved between the last and the current frame.

      when "any"
        pointers = @mouse.buttons.concat(@touches)
    @checkPointer pointers, "down"


  ###
  Checks if a mouse button or touch has just been pressed (between the last and the current frame).

  ###
  onTouchEnd: (event) ->
    throw new Error("Missing argument: event") if event is undefined #dev

    # Update unpressed touches
    for eventTouch in event.changedTouches
      pointerTouch = @touches.filter((t) ->
        t.identifier is eventTouch.identifier
      )[0]
      pointerTouch.events = pointerTouch.events.slice(0, 1)
      pointerTouch.events.unshift -new Date().getTime()

    # Update all touch positions
    @onTouchMove event
    return

  ###
  Registers every ontouchmove event to the Mouse object.

