game is almost playable again

This commit is contained in:
Max-Wilhelm Bruker 2009-11-26 18:52:53 +01:00
parent 0d4717f40b
commit e796af2b89
34 changed files with 309 additions and 320 deletions

View file

@ -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();