35 lines
1.2 KiB
C#
35 lines
1.2 KiB
C#
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace Continentis.MainGame.Card
|
|
{
|
|
public class ContentSubmodule : SubmoduleBase<CardLogicBase>
|
|
{
|
|
public List<string> keywords;
|
|
|
|
public string cardName;
|
|
public Sprite cardSprite;
|
|
public CardRarity cardRarity;
|
|
public CardType cardType;
|
|
public string cardDescription;
|
|
|
|
public ContentSubmodule(CardLogicBase card) : base(card)
|
|
{
|
|
keywords = new List<string>();
|
|
cardName = card.cardData.cardName;
|
|
cardSprite = card.cardData.cardSprite;
|
|
cardDescription = card.cardData.cardDescription;
|
|
cardRarity = card.cardData.cardRarity;
|
|
cardType = card.cardData.cardType;
|
|
//CardDescriptionInterpreter.InterpretDescription(card);
|
|
//keywords = CardDescriptionInterpreter.GetKeywords(card.cardData.cardDescription);
|
|
//Debug.Log($"Extracted Keywords: {string.Join(", ", keywords)}");
|
|
}
|
|
|
|
public string GetFinalDescription()
|
|
{
|
|
//finalDescription = CardDescriptionInterpreter.InterpretDescription(card);
|
|
return cardDescription;
|
|
}
|
|
}
|
|
} |