diff options
Diffstat (limited to 'scripts/cards/card.js')
-rw-r--r-- | scripts/cards/card.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/cards/card.js b/scripts/cards/card.js index 69312e9..e49aeba 100644 --- a/scripts/cards/card.js +++ b/scripts/cards/card.js @@ -15,6 +15,10 @@ class Card { this.e.style.setProperty("--top", "0px"); this.e.card = this; + this.getData = () => { + return data; + }; + this.id = id; this.deck = deck; } |