Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/cardtable.py
diff options
context:
space:
mode:
authorAleksey Lim <alsroot@member.fsf.org>2009-10-17 02:33:46 (GMT)
committer Aleksey Lim <alsroot@member.fsf.org>2009-10-17 02:33:46 (GMT)
commit79f95a1996d9afc7cd52d7673065cdf026d04af6 (patch)
tree38f12e21bbc0ab371f4478934dea51e5851fba3c /cardtable.py
parent4cbd6890e2d5785e763a26f39ecf3671d923bee2 (diff)
Skip full flipping animation if second speaking card is correct
Diffstat (limited to 'cardtable.py')
-rw-r--r--cardtable.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cardtable.py b/cardtable.py
index 0a39a62..1f251e2 100644
--- a/cardtable.py
+++ b/cardtable.py
@@ -226,8 +226,8 @@ class CardTable(gtk.EventBox):
def flop_card(self, widget, identifer):
self.id2cd.get(identifer).flop()
- def flip_card(self, widget, identifer):
- self.id2cd.get(identifer).flip()
+ def flip_card(self, widget, identifer, full_animation):
+ self.id2cd.get(identifer).flip(full_animation)
def cement_card(self, widget, identifer):
self.id2cd.get(identifer).cement()