示例#1
0
 def __init__(self, x, y, game, base_rank, yoffset):
     SS_RowStack.__init__(self,
                          x,
                          y,
                          game,
                          base_rank=base_rank,
                          max_accept=1,
                          max_move=1)
     self.CARD_YOFFSET = 1
示例#2
0
 def __init__(self, x, y, game, base_rank, yoffset, dir=3, max_cards=4):
     SS_RowStack.__init__(self,
                          x,
                          y,
                          game,
                          base_rank=base_rank,
                          dir=dir,
                          max_cards=max_cards,
                          max_accept=1)
     self.CARD_YOFFSET = yoffset
示例#3
0
 def __init__(self, x, y, game, suit):
     SS_RowStack.__init__(self,
                          x,
                          y,
                          game,
                          suit=suit,
                          base_rank=QUEEN,
                          mod=13,
                          dir=-1,
                          min_cards=1,
                          max_cards=12)
示例#4
0
 def __init__(self, x, y, game, suit):
     SS_RowStack.__init__(self,
                          x,
                          y,
                          game,
                          suit=suit,
                          base_rank=KING,
                          mod=13,
                          dir=1,
                          min_cards=1,
                          max_cards=12)
     self.CARD_YOFFSET = -self.CARD_YOFFSET
示例#5
0
文件: mughal.py 项目: jimsize/PySolFC
 def __init__(self, x, y, game, base_rank, yoffset):
     SS_RowStack.__init__(
         self, x, y, game, base_rank=base_rank,
         max_accept=1, max_move=1)
     self.CARD_YOFFSET = 1
示例#6
0
 def __init__(self, x, y, game, base_rank, yoffset, dir=3, max_cards=4):
     SS_RowStack.__init__(
         self, x, y, game,
         base_rank=base_rank, dir=dir, max_cards=max_cards, max_accept=1)
     self.CARD_YOFFSET = yoffset
示例#7
0
 def __init__(self, x, y, game, suit):
     SS_RowStack.__init__(self, x, y, game, suit=suit,
                          base_rank=QUEEN, mod=13, dir=-1,
                          min_cards=1, max_cards=12)
示例#8
0
 def __init__(self, x, y, game, suit):
     SS_RowStack.__init__(self, x, y, game, suit=suit,
                          base_rank=KING, mod=13, dir=1,
                          min_cards=1, max_cards=12)
     self.CARD_YOFFSET = -self.CARD_YOFFSET