From ae9433edafa2034118b5301b12e01fad9e985ac8 Mon Sep 17 00:00:00 2001 From: Joe Doliner Date: Thu, 11 Jan 2018 14:45:53 -0800 Subject: [PATCH] Update card.py --- src/card.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/card.py b/src/card.py index c061456..3329f5d 100644 --- a/src/card.py +++ b/src/card.py @@ -3,6 +3,14 @@ playFs = {} scoreFs = {} +class Card: + def __init__(self, name, type, cost, play, score): + self.name = name + self.type = type + self.cost = cost + self.play = play + self.score = score + def NewCard(name, type, cost, play, score): card = pb.Card()