]> git.armaanb.net Git - lightcards.git/blobdiff - lightcards/deck.py
Fix side output in bar and header
[lightcards.git] / lightcards / deck.py
index abb13a3804b53b7fb01a8d1856db3f3552bcaf60..823946f0266c35e7f4c3c86e33271e4ec3823980 100644 (file)
@@ -48,6 +48,12 @@ class Card:
         else:
             self.side = 0
 
+    def get_reverse(self):
+        if self.side == 0:
+            return 1
+        else:
+            return 0
+
 
 class Status:
     """Keeps track of where in the deck the user is"""