arrows can target players now

This commit is contained in:
Max-Wilhelm Bruker 2010-06-27 17:56:09 +02:00
parent cbf201ed9b
commit 61b82bd6f9
25 changed files with 802 additions and 489 deletions

View file

@ -0,0 +1,12 @@
#include "arrowtarget.h"
ArrowTarget::ArrowTarget(QGraphicsItem *parent)
: AbstractGraphicsItem(parent), beingPointedAt(false)
{
}
void ArrowTarget::setBeingPointedAt(bool _beingPointedAt)
{
beingPointedAt = _beingPointedAt;
update();
}