mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 00:04:48 -07:00
renamed playerzone to cardzone
This commit is contained in:
parent
141b116528
commit
8782438fcc
28 changed files with 106 additions and 106 deletions
|
|
@ -4,7 +4,7 @@
|
|||
#include "client.h"
|
||||
|
||||
TableZone::TableZone(Player *_p)
|
||||
: PlayerZone(_p, "table"), width(700), height(500)
|
||||
: CardZone(_p, "table"), width(700), height(500)
|
||||
{
|
||||
cards = new CardList(true);
|
||||
hasCardAttr = true;
|
||||
|
|
@ -37,7 +37,7 @@ void TableZone::addCard(CardItem *card, bool reorganize, int x, int y)
|
|||
card->update(card->boundingRect());
|
||||
}
|
||||
|
||||
void TableZone::handleDropEvent(int cardId, PlayerZone *startZone, const QPoint &dropPoint)
|
||||
void TableZone::handleDropEvent(int cardId, CardZone *startZone, const QPoint &dropPoint)
|
||||
{
|
||||
player->client->moveCard(cardId, startZone->getName(), getName(), dropPoint.x(), dropPoint.y());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue