mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-06 05:23:56 -07:00
25 lines
592 B
C++
25 lines
592 B
C++
/**
|
|
* @file counter_general.h
|
|
* @ingroup GameGraphicsPlayers
|
|
* @brief TODO: Document this.
|
|
*/
|
|
|
|
#ifndef COUNTER_GENERAL_H
|
|
#define COUNTER_GENERAL_H
|
|
|
|
#include "abstract_counter.h"
|
|
|
|
class GeneralCounter : public AbstractCounter
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
GeneralCounter(CounterState *state,
|
|
PlayerLogic *player,
|
|
bool useNameForShortcut = false,
|
|
QGraphicsItem *parent = nullptr);
|
|
QRectF boundingRect() const override;
|
|
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override;
|
|
};
|
|
|
|
#endif
|