Files
Online_TCG/Game_Client/Classes/Objects/Cards/Card.py

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")