code: function(name, init, uninit) {
          if (typeof init !== "function")
              throw "Init function is the wrong type.";
          this._scenes[name] = {};
          this._scenes[name].initialize = init;
          if (typeof uninit !== "undefined") {
              this._scenes[name].uninitialize = uninit;
          }
          return;
      }
docs: /*
  #Crafty.defineScene
  @category Scenes, Stage
  @kind Method
  
  @sign public void Crafty.enterScene(String name[, Data])
  @param name - Name of the scene to run.
  @param Data - The init function of the scene will be called with this data as its parameter.  Can be of any type other than a function.
  
  @see Crafty.enterScene
  @see Crafty.scene