def __init__(self, x, y, game, suit, **cap):
     kwdefault(cap,
               max_cards=12,
               max_move=0,
               base_rank=ANY_RANK,
               base_suit=ANY_SUIT)
     AbstractFoundationStack.__init__(self, x, y, game, suit, **cap)
示例#2
0
 def __init__(self, x, y, game, suit, **cap):
     kwdefault(cap, mod=12, dir=0, base_rank=NO_RANK, max_move=0)
     AbstractFoundationStack.__init__(self, x, y, game, suit, **cap)
示例#3
0
文件: mughal.py 项目: jimsize/PySolFC
 def __init__(self, x, y, game, suit, **cap):
     kwdefault(cap, mod=12, dir=0, base_rank=NO_RANK, max_move=0)
     AbstractFoundationStack.__init__(self, x, y, game, suit, **cap)
 def __init__(self, x, y, game, suit, **cap):
     kwdefault(cap, base_suit=0, mod=12, max_cards=120, max_move=0)
     AbstractFoundationStack.__init__(self, x, y, game, suit, **cap)
 def __init__(self, x, y, game, suit=ANY_SUIT, **cap):
     kwdefault(cap, max_move=0, max_accept=0, max_cards=game.NCARDS)
     AbstractFoundationStack.__init__(self, x, y, game, suit, **cap)
 def __init__(self, x, y, game, suit, **cap):
     kwdefault(cap, max_move=0, max_cards=48, max_accept=4, min_accept=4)
     AbstractFoundationStack.__init__(self, x, y, game, suit, **cap)
     self.CARD_YOFFSET = self.game.app.images.CARDH // 10
 def __init__(self, x, y, game, suit, **cap):
     kwdefault(cap, mod=12, dir=0, base_suit=ANY_SUIT, max_move=0)
     AbstractFoundationStack.__init__(self, x, y, game, suit, **cap)
示例#8
0
 def __init__(self, x, y, game, suit=ANY_SUIT, **cap):
     kwdefault(cap, max_move=0, max_accept=0, max_cards=game.NCARDS)
     AbstractFoundationStack.__init__(self, x, y, game, suit, **cap)
示例#9
0
 def __init__(self, x, y, game, suit, **cap):
     kwdefault(cap, max_cards=12, max_move=0, base_rank=ANY_RANK,
               base_suit=ANY_SUIT)
     AbstractFoundationStack.__init__(self, x, y, game, suit, **cap)
示例#10
0
 def __init__(self, x, y, game, suit, **cap):
     kwdefault(cap, mod=12, dir=0, base_suit=ANY_SUIT, max_move=0)
     AbstractFoundationStack.__init__(self, x, y, game, suit, **cap)
示例#11
0
 def __init__(self, x, y, game, suit, **cap):
     kwdefault(cap, max_move=0, max_cards=48, max_accept=4, min_accept=4)
     AbstractFoundationStack.__init__(self, x, y, game, suit, **cap)
     self.CARD_YOFFSET = self.game.app.images.CARDH // 10
示例#12
0
 def __init__(self, x, y, game, suit, **cap):
     kwdefault(cap, base_suit=0, mod=12, max_cards=120, max_move=0)
     AbstractFoundationStack.__init__(self, x, y, game, suit, **cap)