Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 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)
Exemplo n.º 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
Exemplo n.º 5
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
Exemplo n.º 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
Exemplo n.º 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)
Exemplo n.º 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