 
   set_color:(color) ->
     @color = color
+
+  clear:() ->
+    @canvas.width = @canvas.width
 
   draw_gorillas: ->
     building = @buildings[Math.floor(Math.random()*3)]

    @padding = 1
    @buildings = []

  draw_buildings:()->
    position = 0
    for [1...10]

jQuery = $
$(document).ready ->
  painter = new Painter
  painter.draw_scene()

  $('#player_1_angle').bind "keydown", (event) ->
    if event.keyCode == 13
