for now removed card class from hirarchy and added possibillity to render sprites on screen
This commit is contained in:
14
Game_Client/Classes/Objects/Cards/Card.py
Normal file
14
Game_Client/Classes/Objects/Cards/Card.py
Normal 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")
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user