wix, quick_frontend: deactivated autoplay in Tarot game
This commit is contained in:
parent
92cc200426
commit
4977887e9a
2 changed files with 3 additions and 3 deletions
|
|
@ -101,7 +101,7 @@ class QuickCardGame():
|
|||
if self.state == "chien":
|
||||
self.to_show = []
|
||||
self.state = "play"
|
||||
self.__fakePlay() #gof:
|
||||
#self.__fakePlay() #gof:
|
||||
|
||||
def __fakePlay(self):
|
||||
"""Convenience method for stupid autoplay
|
||||
|
|
@ -149,5 +149,5 @@ class QuickCardGame():
|
|||
self.hand.append(self.cards[suit, value])
|
||||
|
||||
self.hand.sort()
|
||||
self.__fakePlay() #gof:
|
||||
#self.__fakePlay() #gof:
|
||||
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ class CardPanel(QuickCardGame,wx.Panel):
|
|||
|
||||
self._recalc_ori()
|
||||
self.Refresh()
|
||||
#gof: wx.MessageDialog(self, _("Cards played are invalid !"), _("Error"), wx.OK | wx.ICON_ERROR).ShowModal()
|
||||
wx.MessageDialog(self, _("Cards played are invalid !"), _("Error"), wx.OK | wx.ICON_ERROR).ShowModal()
|
||||
|
||||
def _is_on_hand(self, pos_x, pos_y):
|
||||
"""Return True if the coordinate are on the hand cards"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue