Cockatrice
2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
Toggle main menu visibility
Loading...
Searching...
No Matches
stats_tally.h
Go to the documentation of this file.
1
#ifndef COCKATRICE_STATS_TALLY_H
2
#define COCKATRICE_STATS_TALLY_H
3
#include "
tally.h
"
4
5
#include <QList>
6
7
class
CardItem
;
8
12
namespace
StatsTally
13
{
14
21
QList<TallyRow>
computeTotalPower
(
const
QList<CardItem *>
&cards);
22
29
QList<TallyRow>
computeTotalToughness
(
const
QList<CardItem *>
&cards);
30
31
}
// namespace StatsTally
32
33
#endif
// COCKATRICE_STATS_TALLY_H
CardItem
Definition
card_item.h:33
QList
Definition
remote_connection_controller.h:20
StatsTally
Extracts and tallies stats from selected cards.
Definition
stats_tally.h:13
StatsTally::computeTotalToughness
QList< TallyRow > computeTotalToughness(const QList< CardItem * > &cards)
Sums the toughness of all selected cards.
Definition
stats_tally.cpp:56
StatsTally::computeTotalPower
QList< TallyRow > computeTotalPower(const QList< CardItem * > &cards)
Sums the power of all selected cards.
Definition
stats_tally.cpp:28
tally.h
cockatrice
src
game_graphics
tally
stats_tally.h
Generated by
1.18.0