15 lines
218 B
Python
15 lines
218 B
Python
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")
|
|
|
|
|
|
|