moved card placing and keeping of cards to world class

This commit is contained in:
2023-12-17 20:38:39 +01:00
parent c71980789c
commit 39e07e4cb6
5 changed files with 50 additions and 85 deletions

View File

@ -12,7 +12,7 @@ class TrapCard(pygame.sprite.Sprite):
__dragging:bool = False
__offset:pygame.Vector2 = pygame.Vector2(0,0)
__inputHandler: InputHandler
__type:str = "SpellCard"
__type:str = "TrapCard"
image:pygame.image
rect:pygame.rect