initial commit

This commit is contained in:
Max-Wilhelm Bruker 2009-03-13 22:50:41 +01:00
commit a11f93df4d
99 changed files with 7493 additions and 0 deletions

24
cockatrice/src/counter.h Normal file
View file

@ -0,0 +1,24 @@
#ifndef COUNTER_H
#define COUNTER_H
#include <QGraphicsItem>
class Player;
class Counter : public QGraphicsItem {
private:
QString name;
int value;
protected:
Player *player;
public:
Counter(Player *_player, const QString &_name, QGraphicsItem *parent = 0);
QRectF boundingRect() const;
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
QString getName() const { return name; }
int getValue() const { return value; }
void setValue(int _value);
};
#endif