arrows can target players; card attachment works

This commit is contained in:
Max-Wilhelm Bruker 2010-07-17 18:24:14 +02:00
parent 61b82bd6f9
commit 614f106304
32 changed files with 885 additions and 402 deletions

View file

@ -1,8 +1,9 @@
#include "playertarget.h"
#include "player.h"
#include <QPainter>
PlayerTarget::PlayerTarget(const QString &_name, int _maxWidth, QGraphicsItem *parent)
: ArrowTarget(parent), name(_name), maxWidth(_maxWidth)
PlayerTarget::PlayerTarget(const QString &_name, int _maxWidth, Player *_owner)
: ArrowTarget(_owner, _owner), name(_name), maxWidth(_maxWidth)
{
font = QFont("Times");
font.setStyleHint(QFont::Serif);