![]() |
Cockatrice 2026-06-01-Development-3.1.0-beta.3
A virtual tabletop for multiplayer card games
|
#include <player_target.h>
Public Types | |
| enum | { Type = typePlayerTarget } |
Public Slots | |
| void | counterDeleted () |
Public Member Functions | |
| int | type () const override |
| PlayerTarget (PlayerLogic *_player=nullptr, QGraphicsItem *parentItem=nullptr) | |
| ~PlayerTarget () override | |
| QRectF | boundingRect () const override |
| void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override |
| AbstractCounter * | addCounter (CounterState *state) |
| Public Member Functions inherited from ArrowTarget | |
| ArrowTarget (PlayerLogic *_owner, QGraphicsItem *parent=nullptr) | |
| ~ArrowTarget () override=default | |
| PlayerLogic * | getOwner () const |
| void | setBeingPointedAt (bool _beingPointedAt) |
| bool | getBeingPointedAt () const |
| Public Member Functions inherited from AbstractGraphicsItem | |
| AbstractGraphicsItem (QGraphicsItem *parent=nullptr) | |
Private Attributes | |
| QPixmap | fullPixmap |
| PlayerCounter * | playerCounter |
Additional Inherited Members | |
| Signals inherited from ArrowTarget | |
| void | scenePositionChanged () |
| Protected Member Functions inherited from ArrowTarget | |
| QVariant | itemChange (GraphicsItemChange change, const QVariant &value) override |
| Protected Member Functions inherited from AbstractGraphicsItem | |
| void | paintNumberEllipse (int number, int radius, const QColor &color, int position, int count, QPainter *painter) |
| Protected Attributes inherited from ArrowTarget | |
| PlayerLogic * | owner |
|
explicit |
|
override |
| AbstractCounter * PlayerTarget::addCounter | ( | CounterState * | state | ) |
|
override |
|
slot |
|
override |
|
inlineoverride |
|
private |
|
private |