setGlowing(glowing, duration) {
    duration = duration || 0.1;
    if (this.glowing !== glowing) {
      this.glowing = glowing;

      this.whenRequiredResourcesReady().then((requestId) => {
        if (!this.getAreResourcesValid(requestId)) return; // load invalidated or resources changed

        if (this.glowing) {
          this._glowMapNode.setVisible(true);
          this._glowMapNode.stopAllActions();
          this._glowMapNode.setOpacity(0);
          this._glowMapNode.runAction(cc.fadeIn(duration));
        } else {
          this._glowMapNode.stopAllActions();
          this._glowMapNode.runAction(cc.sequence(
            cc.fadeOut(duration),
            cc.callFunc(() => {
              this._glowMapNode.setVisible(false);
            }),
          ));
        }
      });
    }
  }
Sets card glwoing state, showing glow around card.