setSdkCard(sdkCard, cardFadeDuration) {
    if (this.step != null && this.sdkCard !== sdkCard) {
      // destroy previous card
      if (this.sdkCard != null) {
        if (this.cardSprite != null) {
          this.cardSprite.destroy(cardFadeDuration);
          this.cardSprite = null;
        }
      }

      // update card after resetting last and before showing new
      this._super(sdkCard);

      // setup new card
      if (this.sdkCard != null) {
        const contentSize = this.getContentSize();

        // set options
        const cardOptions = _.extend({}, sdkCard.getCardOptions());
        cardOptions.spriteIdentifier = sdkCard.getBaseAnimResource() && sdkCard.getBaseAnimResource().idle;
        cardOptions.antiAlias = false;

        this.whenResourcesReady(this.getCardResourceRequestId()).then((cardResourceRequestId) => {
          if (!this.getAreResourcesValid(cardResourceRequestId)) return; // card has changed

          // create sprite
          this.cardSprite = BaseSprite.create(cardOptions);

          // flip sprite for player 2
          if (sdkCard instanceof SDK.Entity && sdkCard.isOwnedByPlayer2()) {
            this.cardSprite.setFlippedX(true);
          }

          // set base position of sprite
          let cardSpritePosition;
          if (sdkCard instanceof SDK.Unit) {
            this.cardSprite.setAnchorPoint(cc.p(0.5, 0));
            cardSpritePosition = cc.p(contentSize.width * 0.5, -contentSize.height * 0.5 + 35);
          } else {
            this.cardSprite.setAnchorPoint(0.5, 0.5);
            cardSpritePosition = cc.p(contentSize.width * 0.5, contentSize.height * 0.5);
          }

          // offset sprite
          const { offset } = cardOptions;
          if (offset != null) {
            cardSpritePosition.x += offset.x;
            cardSpritePosition.y += offset.y;
          }

          this.cardSprite.setPosition(cardSpritePosition);
          this.addChild(this.cardSprite);
        });
      }
    }
  }
Battle log nodes should always use card inspect resource packages.
@see SdkNode.getCardResourcePackageId