   create_window:(x, y) ->
     @context.fillRect x, y, 8, 16
 
+  randomize_color:() ->
+    colors = [ '#C0C0C0', '#800000', '#00FFFF' ]
+    random = Math.floor(Math.random()*colors.length)
+    @color = colors[random]
 
 class Sun
   constructor:(context) ->

class Building
  constructor:(context, color) ->
    @context = context
    @width = 100
    @base_height = 135
    @color = color

  draw:(x,y) ->
    @context.fillStyle = @color

    x: x + d * Math.cos(a),
    y: y + d * Math.sin(a)

class Painter
  constructor: ->
    @canvas = document.getElementById "gorillas"
