Cockatrice/cockatrice/src/game/board/counter_general.h
2026-05-20 19:47:04 +02:00

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