       now = new Date()
       time = now - @start_time
 
-      player.throw_banana(time/1000)
+      player.throw_banana(time/1000, time)
       @animate_banana(player)
       ),
       @f

    @color = '#00FFFF'
    @padding = 1
    @buildings = []
    @f = 0

  draw_scene: ->
    unless @empty

    @right_hand = false

  image: ->
    @current_image ||= @still_state()
    @current_image

  reset_image: ->
    @current_image = @still_state()

  use_right_hand_image: ->
    @current_image = @right_hand_image()

  use_left_hand_image: ->
    @current_image = @left_hand_image()

  draw:(x, y) ->
    if @dead == true
      @draw_as_dead()
      return
    @x ||= x-@width/2
    @y ||= y-@height
    @context.drawImage(@image(), @x, @y, @width, @height)
    @reset_image()

  redraw:() ->
    @draw(@x, @y)

  grab_banana:(force, angle) ->
    @banana = new Banana(@context, @x, @y-@height, force, angle)

  draw_as_dead: ->
    @context.fillStyle = '#0000b0'
    @context.beginPath()
    @context.arc @x, @y, @width, 0, Math.PI*2, true
    @context.closePath()
    @context.fill()

  throw_banana:(time, just_thrown) ->
    if @player_number == 2 and just_thrown == true
      @use_left_hand_image()
    else if just_thrown == true
      @use_right_hand_image()
    @context.drawImage(@image(), @x, @y, @width, @height)
    @banana.draw_frame(time)

  check_colission:(x, y) ->
