mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-03 20:13:56 -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,9 +1,9 @@
|
|||
#ifndef LIBRARYZONE_H
|
||||
#define LIBRARYZONE_H
|
||||
|
||||
#include "playerzone.h"
|
||||
#include "cardzone.h"
|
||||
|
||||
class LibraryZone : public PlayerZone {
|
||||
class LibraryZone : public CardZone {
|
||||
private:
|
||||
public:
|
||||
LibraryZone(Player *_p);
|
||||
|
|
@ -11,7 +11,7 @@ public:
|
|||
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
|
||||
void addCard(CardItem *card, bool reorganize = true, int x = 0, int y = -1);
|
||||
void reorganizeCards();
|
||||
void handleDropEvent(int cardId, PlayerZone *startZone, const QPoint &dropPoint);
|
||||
void handleDropEvent(int cardId, CardZone *startZone, const QPoint &dropPoint);
|
||||
protected:
|
||||
void mousePressEvent(QGraphicsSceneMouseEvent *event);
|
||||
void mouseMoveEvent(QGraphicsSceneMouseEvent *event);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue