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
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
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)
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
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
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