17 lines
372 B
Python
17 lines
372 B
Python
|
|
|
|
import json
|
|
from Game_Client.Classes.System.Objects.Cards.Card import Card
|
|
|
|
|
|
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 |