   grab_banana:(force, angle) ->
     @banana = new Banana(@context, @x+@width, @y-@height, force, angle)
 
-  throw_banana: ->
-    @banana.draw_frame()
+  throw_banana:(time) ->
+    @banana.draw_frame(time)
 
   check_colission:(x, y) ->
     if (@y < y+(@height) || @y < y-(@height)) && (x > @x-@width/2 && x < @x+@width/2)
-      alert "BOOM"
       return true
     false
 

    player = this['player_' + player]
    player.grab_banana(force, angle)
    @timeout = setTimeout (=>
      @start_time = 0
      @animate_banana(player)
      ),
      @f

  animate_banana:(player) ->
    @timeout = setTimeout (=>
      @draw_scene()
      if @banana_has_collided(player) == true
        @next_player_turn(player)
        return
      if @within_boundaries(player.banana.x(), player.banana.y()) == false
        @next_player_turn(player)
        return
      player.throw_banana()

      @animate_banana(player)
      ),
      @f

  draw: ->
    @context.drawImage @image(), @x(), @y()

  draw_frame:(time) ->
    @start_time = time
    @draw()
    @calculate_projection()

  calculate_initial_position: ->
    radian = @angle*Math.PI/180
    @dx = @force*Math.cos(radian)
    @dy = @force*Math.sin(radian)-@g*@start_time
