modified guiopponenthand

This commit is contained in:
Anthony Calosa
2017-02-13 20:11:07 +08:00
parent 6f4377de76
commit 143b3d98b1

View File

@@ -397,9 +397,14 @@ int GuiOpponentHand::receiveEventPlus(WEvent* e)
t = NEW CardView(CardView::nullZone, event->card, *(event->card->view));
else
t = NEW CardView(CardView::nullZone, event->card, x, y);
t->x = x + Width / 2;
t->y = y + Height / 2;
t->zoom = 0.6f;
//t->x = x + Width / 2;
//t->y = y + Height / 2;
//t->zoom = 0.6f;
//I set to negative so we don't see the face when the cards move...
t->x = -400.f;
t->y = -400.f;
t->mask = ARGB(0,0,0,0);
t->zoom = -0.6f;
t->alpha = 0;
cards.push_back(t);
return 1;