card can resize back to normal size but loses details on each time doing it
This commit is contained in:
@ -33,6 +33,8 @@ class MonsterCard(pygame.sprite.Sprite):
|
||||
self.__inputHandler = inputHandler
|
||||
self.rect.center = self.__pos
|
||||
self.__description = data["description"]
|
||||
self.original_size = self.image.get_size()
|
||||
self.original_position = self.rect.center
|
||||
|
||||
for attack in data["attacks"]:
|
||||
self.__attacks.append(attack)
|
||||
|
Binary file not shown.
Reference in New Issue
Block a user