Пример #1
0
    private void UnSelectAllActiveCards(List <int> activeCardIDs)
    {
        if (Enemy_BuildCards != null)
        {
            foreach (int cardID in activeCardIDs)
            {
                BuildCards.CardSelectInfo csi = Enemy_BuildCards.CardSelectInfos[cardID];
                csi.CardSelectCount      = 0;
                csi.CardSelectUpperLimit = 0;
                CardSelectPanel.RefreshCard(cardID, 0);
            }

            Row_CardSelection.Refresh();
        }
    }
Пример #2
0
    private void SelectOneForEachActiveCards(List <int> activeCardIDs)
    {
        if (Enemy_BuildCards != null)
        {
            foreach (int cardID in activeCardIDs)
            {
                BuildCards.CardSelectInfo csi = Enemy_BuildCards.CardSelectInfos[cardID];
                csi.CardSelectCount++;
                int count = csi.CardSelectCount;
                CardSelectPanel.RefreshCard(cardID, count);
            }

            Row_CardSelection.Refresh();
        }
    }