Ejemplo n.º 1
0
 def animDeckPlayer(self):
     self.levelMaxPlayer += 1
     
     card = CardInfo(self.loader, self.player1.deck.getCarte(), self.levelMaxPlayer)
     card.setResize(self.width - 163 , self.height / 2 + 152, 0, 0, 0, None)
     card.setResize(self.width - 200, self.height / 2 + 105, 75, 105, 20, self.asyncAnimDeckPlayer)
     
     self.cardPlayer.append(card)
     self.lastAnimCard = card
Ejemplo n.º 2
0
 def animDeckEnemy(self):
     self.levelMaxPlayer += 1
     
     card = CardInfo(self.loader, self.player2.deck.getCarte(), self.levelMaxPlayer)
     card.setResize(self.width - 163 , self.height / 2 - 53 - 110, 0, 0, 0, None)
     card.setResize(self.width - 200, self.height / 2 - 105 - 110, 75, 105, 20, self.asyncAnimDeckEnemy)
     
     self.cardEnemy.append(card)
     self.lastAnimCard = card