Introduced stack zone, shrunk table to have higher zoom factor

This commit is contained in:
Max-Wilhelm Bruker 2010-11-03 21:28:43 +01:00
parent 1cd76c2641
commit df5791d318
16 changed files with 186 additions and 23 deletions

View file

@ -369,9 +369,7 @@ void CardItem::playCard(QGraphicsSceneMouseEvent *event)
bool faceDown = event->modifiers().testFlag(Qt::ShiftModifier);
bool tapped = info->getCipt();
TableZone *table = zone->getPlayer()->getTable();
QPoint gridPoint = QPoint(-1, 3 - info->getTableRow());
table->handleDropEventByGrid(id, zone, gridPoint, faceDown, tapped);
zone->getPlayer()->playCard(this, faceDown, tapped);
}
}