mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
Some minor refactoring of Hit or Miss.
This commit is contained in:
parent
2d7199e56f
commit
c9ac0e6f69
1 changed files with 3 additions and 3 deletions
|
@ -67,7 +67,7 @@ class HitOrMiss_Talon(WasteTalonStack):
|
||||||
game.rank = 0
|
game.rank = 0
|
||||||
game.saveStateMove(1 | 16) # for redo
|
game.saveStateMove(1 | 16) # for redo
|
||||||
game.leaveState(old_state)
|
game.leaveState(old_state)
|
||||||
return super(HitOrMiss_Talon, self).dealCards(sound)
|
return WasteTalonStack.dealCards(self, sound)
|
||||||
|
|
||||||
def getHelp(self):
|
def getHelp(self):
|
||||||
return _('Talon. Unlimited redeals, until running through the deck '
|
return _('Talon. Unlimited redeals, until running through the deck '
|
||||||
|
@ -83,12 +83,12 @@ class HitOrMiss_Waste(WasteStack):
|
||||||
game.deadDeals = 0
|
game.deadDeals = 0
|
||||||
game.saveStateMove(1 | 16) # for redo
|
game.saveStateMove(1 | 16) # for redo
|
||||||
game.leaveState(old_state)
|
game.leaveState(old_state)
|
||||||
super(HitOrMiss_Waste, self).moveMove(ncards, to_stack, frames, shadow)
|
WasteStack.moveMove(ncards, to_stack, frames, shadow)
|
||||||
game.s.talon.dealCards()
|
game.s.talon.dealCards()
|
||||||
|
|
||||||
|
|
||||||
# ************************************************************************
|
# ************************************************************************
|
||||||
# * HitOrMiss
|
# * Hit Or Miss
|
||||||
# ************************************************************************
|
# ************************************************************************
|
||||||
|
|
||||||
class HitOrMiss(Game):
|
class HitOrMiss(Game):
|
||||||
|
|
Loading…
Add table
Reference in a new issue