mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 17:14:52 -07:00
improved counters
This commit is contained in:
parent
939ab62273
commit
3388804e8f
18 changed files with 158 additions and 80 deletions
|
|
@ -25,9 +25,10 @@
|
|||
class Counter {
|
||||
protected:
|
||||
QString name;
|
||||
int color;
|
||||
int count;
|
||||
public:
|
||||
Counter(QString _name, int _count = 0) : name(_name), count(_count) { }
|
||||
Counter(QString _name, int _color, int _count = 0) : name(_name), color(_color), count(_count) { }
|
||||
~Counter() { }
|
||||
int getCount() { return count; }
|
||||
void setCount(int _count) { count = _count; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue