mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-08 00:53:57 -07:00
arrows can target players now
This commit is contained in:
parent
cbf201ed9b
commit
61b82bd6f9
25 changed files with 802 additions and 489 deletions
15
cockatrice/src/arrowtarget.h
Normal file
15
cockatrice/src/arrowtarget.h
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#ifndef ARROWTARGET_H
|
||||
#define ARROWTARGET_H
|
||||
|
||||
#include "abstractgraphicsitem.h"
|
||||
|
||||
class ArrowTarget : public AbstractGraphicsItem {
|
||||
private:
|
||||
bool beingPointedAt;
|
||||
public:
|
||||
ArrowTarget(QGraphicsItem *parent = 0);
|
||||
void setBeingPointedAt(bool _beingPointedAt);
|
||||
bool getBeingPointedAt() const { return beingPointedAt; }
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue