mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-06 13:33:55 -07:00
[Counters] Split counters into graphics and logic states
Took 22 minutes
This commit is contained in:
parent
10b9a65f17
commit
2063be6fa0
17 changed files with 279 additions and 217 deletions
|
|
@ -12,17 +12,10 @@
|
|||
class GeneralCounter : public AbstractCounter
|
||||
{
|
||||
Q_OBJECT
|
||||
private:
|
||||
QColor color;
|
||||
int radius;
|
||||
|
||||
public:
|
||||
GeneralCounter(PlayerLogic *_player,
|
||||
int _id,
|
||||
const QString &_name,
|
||||
const QColor &_color,
|
||||
int _radius,
|
||||
int _value,
|
||||
GeneralCounter(CounterState *state,
|
||||
PlayerLogic *player,
|
||||
bool useNameForShortcut = false,
|
||||
QGraphicsItem *parent = nullptr);
|
||||
QRectF boundingRect() const override;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue