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(); } }
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(); } }