mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
Added option to move cards with one click in Camelot.
This commit is contained in:
parent
900ba03979
commit
abf3cd3d25
1 changed files with 5 additions and 0 deletions
|
@ -105,6 +105,11 @@ class Camelot_RowStack(ReserveStack):
|
||||||
self.playMoveMove(1, game.s.foundations[0], sound=False)
|
self.playMoveMove(1, game.s.foundations[0], sound=False)
|
||||||
self.fillStack()
|
self.fillStack()
|
||||||
return True
|
return True
|
||||||
|
if not self.cards and game.s.talon.cards and \
|
||||||
|
self.acceptsCards(game.s.talon, [game.s.talon.cards[-1]]):
|
||||||
|
game.s.talon.playMoveMove(1, self)
|
||||||
|
return True
|
||||||
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def moveMove(self, ncards, to_stack, frames=-1, shadow=-1):
|
def moveMove(self, ncards, to_stack, frames=-1, shadow=-1):
|
||||||
|
|
Loading…
Add table
Reference in a new issue