diff frontends/sat_bridge_frontend/DBus.py @ 92:2503de7fb4c7

Tarot game: chien/écart stage - tarot plugin: new methods/signals tarotGamePlayCards, tarotGameShowCards, tarotGameYourTurn - tarot plugin: protocole update - tarot plugin: family renamed in suit - wix: card_game: card can be selected for écart, card move when mouse is over only if it's our turn
author Goffi <goffi@goffi.org>
date Sat, 29 May 2010 20:53:03 +0930
parents 39c672544593
children 783e9d6980ec
line wrap: on
line diff
--- a/frontends/sat_bridge_frontend/DBus.py	Thu May 27 19:26:19 2010 +0930
+++ b/frontends/sat_bridge_frontend/DBus.py	Sat May 29 20:53:03 2010 +0930
@@ -122,11 +122,14 @@
     def tarotGameCreate(self, room_jid, players, profile_key='@DEFAULT@'):
         return self.db_comm_iface.tarotGameCreate(room_jid, players, profile_key)
 
-    def tarotGameReady(self, user, referee, profile_key='@DEFAULT@'):
-        return self.db_comm_iface.tarotGameReady(user, referee, profile_key)
+    def tarotGameReady(self, player, referee, profile_key='@DEFAULT@'):
+        return self.db_comm_iface.tarotGameReady(player, referee, profile_key)
 
-    def tarotGameContratChoosed(self, user, referee, contrat, profile_key='@DEFAULT@'):
-        return self.db_comm_iface.tarotGameContratChoosed(user, referee, contrat, profile_key)
+    def tarotGameContratChoosed(self, player, referee, contrat, profile_key='@DEFAULT@'):
+        return self.db_comm_iface.tarotGameContratChoosed(player, referee, contrat, profile_key)
+
+    def tarotGamePlayCards(self, player, referee, cards, profile_key='@DEFAULT@'):
+        return self.db_comm_iface.tarotGamePlayCards(player, referee, cards, profile_key)
 
     def sendFile(self, to, path, profile_key='@DEFAULT@'):
         return self.db_comm_iface.sendFile(to, path, profile_key)