mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 08:34:52 -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"
|
||||
|
||||
HandZone::HandZone(Player *_p)
|
||||
: PlayerZone(_p, "hand")
|
||||
: CardZone(_p, "hand")
|
||||
{
|
||||
cards = new CardList(player->getLocal());
|
||||
}
|
||||
|
|
@ -66,7 +66,7 @@ void HandZone::addCard(CardItem *card, bool reorganize, int x, int y)
|
|||
reorganizeCards();
|
||||
}
|
||||
|
||||
void HandZone::handleDropEvent(int cardId, PlayerZone *startZone, const QPoint &dropPoint)
|
||||
void HandZone::handleDropEvent(int cardId, CardZone *startZone, const QPoint &dropPoint)
|
||||
{
|
||||
Q_UNUSED(dropPoint);
|
||||
player->client->moveCard(cardId, startZone->getName(), getName(), cards->size(), 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue