ctor(options) {
    cc.Node.prototype.ctor.call(this);

    if (options != null) {
      this.setRewardsModels(options.rewardsModels, options.layoutRewardsInCircle);
    }

    this.setAnchorPoint(0.5, 0.5);

    // set content size immediately
    // otherwise content size will not be set until assets load
    // which could cause values that use content size to be incorrect
    this.setContentSize(CONFIG.CRATE_SIZE);

    // build crate
    this._constructCrateSprites();
  }
ctor
@public
@param {Object} [options=null] options including: rewardsModels (array) and layoutRewardsInCircle (boolean)