18 lines
386 B
Python
18 lines
386 B
Python
import json
|
|
from Classes.Objects.Cards.Card import Card
|
|
|
|
|
|
class SpellCard(Card):
|
|
__description:str
|
|
|
|
def __init__(self, asset:str):
|
|
data = json.load(open(asset))
|
|
|
|
Card.__init__(data["name"], data["image"])
|
|
self.__description = data["description"]
|
|
|
|
def update(self):
|
|
pass
|
|
|
|
def getDescription(self):
|
|
return self.__description |