Beispiel #1
0
 def clickHandler(self, event):
     return FaceUpWasteTalonStack.clickHandler(self, event)
Beispiel #2
0
 def releaseHandler(self, event, drag, sound=True):
     if self.game.app.opt.mouse_type == 'point-n-click':
         drag.stack.dragMove(drag, self, sound=sound)
         return
     FaceUpWasteTalonStack.releaseHandler(self, event, drag, sound)
Beispiel #3
0
 def canDealCards(self):
     if not FaceUpWasteTalonStack.canDealCards(self):
         return False
     return not self.game.isGameWon()
Beispiel #4
0
 def clickHandler(self, event):
     if self._dropKingClickHandler(event):
         return 1
     return FaceUpWasteTalonStack.clickHandler(self, event)
Beispiel #5
0
 def clickHandler(self, event):
     return FaceUpWasteTalonStack.clickHandler(self, event)
Beispiel #6
0
 def canDealCards(self):
     if not FaceUpWasteTalonStack.canDealCards(self):
         return False
     return not self.game.isGameWon()
Beispiel #7
0
 def releaseHandler(self, event, drag, sound=True):
     if self.game.app.opt.mouse_type == 'point-n-click':
         drag.stack.dragMove(drag, self, sound=sound)
         return
     FaceUpWasteTalonStack.releaseHandler(self, event, drag, sound)
Beispiel #8
0
 def clickHandler(self, event):
     if self._dropKingClickHandler(event):
         return 1
     return FaceUpWasteTalonStack.clickHandler(self, event)