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


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

  build_windows:(x, y) ->
    rows = Math.round (@height)/31

      @animate_banana(player)
      ),
      150

  banana_has_collided:(x, y) ->
    for building in @buildings
      return true if building.check_colission x, y
    false


  next_player_turn:(player) ->
    next_player = if player.player_number == 2 then 1 else 2
