     super
     new Std()
 
+    @handleAction = _.debounce @_handleAction, 50, true
+
     @canvas = document.getElementById 'game-canvas'
     @ctx = @canvas.getContext '2d'
 

    else
      player.physBody.SetLinearVelocity new Vec2 0, 0
      player.spriteState.moving = false


  draw: =>

      player.spriteState.viewDirection = 1

    if actions['interact']
      @handleAction()

    if actions['cancel']
      placeholder = true
