for now removed card class from hirarchy and added possibillity to render sprites on screen

This commit is contained in:
2023-12-07 22:39:34 +01:00
parent 0d89b1ce84
commit 8d7a67a454
20 changed files with 95 additions and 56 deletions

View File

@ -0,0 +1,14 @@
import json
import pygame
class Card(pygame.sprite.Sprite):
def __init__(self, pos:tuple, assetDir:str):
if assetDir == "":
return ValueError.add_note("Card: imagePath cannot be empty")