mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
game is almost playable again
This commit is contained in:
parent
0d4717f40b
commit
e796af2b89
34 changed files with 309 additions and 320 deletions
|
|
@ -71,6 +71,18 @@ void CardItem::resetState()
|
|||
update();
|
||||
}
|
||||
|
||||
void CardItem::processCardInfo(ServerInfo_Card *info)
|
||||
{
|
||||
id = info->getId();
|
||||
name = info->getName();
|
||||
attacking = info->getAttacking();
|
||||
counters = info->getCounters();
|
||||
annotation = info->getAnnotation();
|
||||
tapped = info->getTapped();
|
||||
|
||||
update();
|
||||
}
|
||||
|
||||
CardDragItem *CardItem::createDragItem(int _id, const QPointF &_pos, const QPointF &_scenePos, bool faceDown)
|
||||
{
|
||||
deleteDragItem();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue