     @width = @canvas.width
     @height = @canvas.height
     @context = @canvas.getContext "2d"
+    @winner = []
     @color = '#00FFFF'
     @padding = 1
     @buildings = []


  animate_win:(player, @start_time) ->
    @timeout = setTimeout (=>
      return unless player.animate == true and player.animations < 10
      now = new Date()
      time = now - @start_time
      @draw_scene()
      player.animate_win()
      @animate_win(player, @start_time)
      ),
      750

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

    if @player_2.check_colission(x, y) || @player_1.check_colission(x, y)
      dead_player = if @player_2.dead == true then @player_2 else @player_1
      winner = if @player_2.dead == false then @player_2 else @player_1
      @winner.push winner.player_number
      @update_score()
      @timeout = setTimeout (=>
        @start_time = new Date()
        winner.animate = true
