2023-12-06 12:21:51 +01:00

17 lines
372 B
Python

from Game_Client.Classes.System.Objects.Cards.Card import Card
import json
class SpellCard(Card):
__description:str
def __init__(self, asset:str):
data = json.load(open(asset))
super.__init__(data["name"], data["image"])
self.__description = data["description"]
def getDescription(self):
return self.__description