45 QVariant
itemChange(GraphicsItemChange change,
const QVariant &value)
override;
AbstractGraphicsItem(QGraphicsItem *parent=nullptr)
Definition abstract_graphics_item.h:23
Definition arrow_item.h:21
void scenePositionChanged()
PlayerLogic * getOwner() const
Definition arrow_target.h:33
bool getBeingPointedAt() const
Definition arrow_target.h:39
ArrowTarget(PlayerLogic *_owner, QGraphicsItem *parent=nullptr)
Definition arrow_target.cpp:6
QVariant itemChange(GraphicsItemChange change, const QVariant &value) override
Definition arrow_target.cpp:17
bool beingPointedAt
Definition arrow_target.h:24
void setBeingPointedAt(bool _beingPointedAt)
Definition arrow_target.cpp:11
PlayerLogic * owner
Definition arrow_target.h:21
~ArrowTarget() override=default
Definition player_logic.h:65