1#ifndef COCKATRICE_CARD_ZONE_ALGORITHMS_H
2#define COCKATRICE_CARD_ZONE_ALGORITHMS_H
26template <
typename CardList,
typename CardType>
29 if (x < 0 || x >= cards.size()) {
30 x =
static_cast<int>(cards.size());
32 cards.insert(x, card);
39 card->resetState(keepAnnotations);
40 card->setVisible(
true);
Definition card_list.h:18
bool getContentsKnown() const
Definition card_list.h:45
Definition card_zone_algorithms.h:5
void addCardToList(CardList &cards, CardType *card, int x, bool keepAnnotations)
Definition card_zone_algorithms.h:27