示例#1
0
 /*******************************************************************/
 public void BuildDeckCards()
 {
     foreach (string cardId in DeckCards)
     {
         object[]     args     = new object[] { cardId };
         DeckCardView cardView = diContainer.InstantiatePrefabForComponent <DeckCardView>(cardPrefab, cardZone, args);
         SetCard(cardView);
     }
 }
示例#2
0
        private void SetXp(DeckCardView cardView)
        {
            int xpCost = xpInteractor.XpPayCost(cardView.Id, investigatorSelectorManager.InvestigatorSelected);

            cardView.SetXpCost(xpCost);
        }