#include <player_area.h>
Public Types | |
| enum | { Type = typeOther } |
Public Member Functions | |
| int | type () const override |
| PlayerArea (QGraphicsItem *parent=nullptr) | |
| QRectF | boundingRect () const override |
| void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override |
| void | setSize (qreal width, qreal height) |
| void | setPlayerZoneId (int _playerZoneId) |
| int | getPlayerZoneId () const |
Private Slots | |
| void | updateBg () |
Private Attributes | |
| QRectF | bRect |
| int | playerZoneId |
The entire graphical area belonging to a single player.
|
explicit |
|
inlinenodiscardoverride |
|
inlinenodiscard |
|
override |
| void PlayerArea::setPlayerZoneId | ( | int | _playerZoneId | ) |
| void PlayerArea::setSize | ( | qreal | width, |
| qreal | height ) |
|
inlinenodiscardoverride |
|
privateslot |
|
private |
|
private |