Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
subtype_tally.h
Go to the documentation of this file.
1#ifndef COCKATRICE_SUBTYPE_TALLY_H
2#define COCKATRICE_SUBTYPE_TALLY_H
3
4#include "tally.h"
5
6#include <QList>
7#include <QString>
8
9class CardItem;
10
14namespace SubtypeTally
15{
23QList<TallyRow> countSubtypes(const QList<CardItem *> &cards);
24} // namespace SubtypeTally
25
26#endif
Definition card_item.h:27
Extracts and tallies subtypes from selected cards.
Definition subtype_tally.cpp:32
QList< TallyRow > countSubtypes(const QList< CardItem * > &cards)
Parses card type lines and counts each subtype occurrence.
Definition subtype_tally.cpp:34