mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-02 11:33:55 -07:00
renamed playerzone to cardzone
This commit is contained in:
parent
141b116528
commit
8782438fcc
28 changed files with 106 additions and 106 deletions
|
|
@ -1,20 +1,20 @@
|
|||
#ifndef ZONEVIEWERZONE_H
|
||||
#define ZONEVIEWERZONE_H
|
||||
|
||||
#include "playerzone.h"
|
||||
#include "cardzone.h"
|
||||
#include "serverzonecard.h"
|
||||
|
||||
class ZoneViewWidget;
|
||||
|
||||
class ZoneViewZone : public PlayerZone {
|
||||
class ZoneViewZone : public CardZone {
|
||||
private:
|
||||
int numberCards;
|
||||
void handleDropEvent(int cardId, PlayerZone *startZone, const QPoint &dropPoint);
|
||||
PlayerZone *origZone;
|
||||
void handleDropEvent(int cardId, CardZone *startZone, const QPoint &dropPoint);
|
||||
CardZone *origZone;
|
||||
signals:
|
||||
void removeZoneViewWidget(ZoneViewWidget *zv);
|
||||
public:
|
||||
ZoneViewZone(Player *_p, PlayerZone *_origZone, int _numberCards = 0, QGraphicsItem *parent = 0);
|
||||
ZoneViewZone(Player *_p, CardZone *_origZone, int _numberCards = 0, QGraphicsItem *parent = 0);
|
||||
~ZoneViewZone();
|
||||
QRectF boundingRect() const;
|
||||
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue