     random = Math.floor(Math.random()*5)
     color = if random > 0 then colors[1] else colors[random]
     color
+
+  check_colission:(x, y) ->
+    if @position_at_y() < y && (@x < x && (@x + @width) > x)
+      @colissions.push [x, y]
+      @draw_colission(x, y)
+      return true
+    false
+
+  draw_colission:(x, y) ->
+    color = '#0000a0'
+    @context.fillStyle = color
+    @context.beginPath()
+    @context.arc x, y,  10 , 0, Math.PI*2, true
+    @context.closePath()
+    @context.fill()
 
 class Sun
   constructor:(context) ->

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


  redraw: ->
    @draw(@x, @y)
    if @colissions.length > 0
      @draw_colission(colission[0], colission[1]) for colission in @colissions

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