Esempio n. 1
0
    private void WipeBoardClean()
    {
        HandSlot1.HideCard();
        HandSlot2.HideCard();
        HandSlot3.HideCard();
        HandSlot4.HideCard();
        HandSlot5.HideCard();

        EquipSlot.HideCard();

        CombineSlot1.HideCard();
        CombineSlot2.HideCard();
        CombineSlot3.HideCard();

        InfuseSlot1.HideCard();
        InfuseSlot2.HideCard();

        var cards = new List <Card>();

        cards.AddRange(Hand.GetAllActiveCards());
        cards.AddRange(Equips.GetAllActiveCards());
        cards.AddRange(Combines.GetAllActiveCards());
        cards.AddRange(Infuses.GetAllActiveCards());

        Hand.RemoveAllCards();
        Equips.RemoveAllCards();
        Combines.RemoveAllCards();
        Infuses.RemoveAllCards();

        Deck.AddCardsToBottom(cards);

        DeselectAll();
    }