summaryrefslogtreecommitdiff
path: root/scripts/cards/card.js
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/cards/card.js')
-rw-r--r--scripts/cards/card.js4
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;
}