           if data.result == "ok"
             alert("niveau réussi !")
             @star_level()
+            @freezed_game = true
             if window.is_logged()
               window.colorbox_next_level()
             else

    has_moved = 0
    has_deleted = 0
    
    move_letter = ' '
    switch event.keyCode
      when KeyEvent.DOM_VK_UP    then move_letter = 'u'

Jax.Controller.create "Level", ApplicationController,
  index: ->
    # unload old level if exists
    if @level
      @level.unload(@world)
