def __init__(self, primal=None, kicker=None) -> None: self.primal = primal self.kicker = kicker if primal is None: self.primal = Primal() if kicker is not None: Cards.__init__(self, self.primal.card_num + kicker.card_num, 'num') else: Cards.__init__(self, self.primal.card_num, 'num')
def __init__(self, arg=None, ctype=None, chain_len=None, num=None, kicker_type=None, kicker_len=None, bomb=False) -> None: Cards.__init__(self, arg, ctype) self.num = num self.chain_len = chain_len self.bomb = bomb self.kicker_type = kicker_type self.kicker_len = kicker_len
def __init__(self, arg=None, ctype=None, is_landlord=False) -> None: Cards.__init__(self, arg, ctype) self.is_landlord = is_landlord
def __init__(self, arg, ctype, kicker_type, kicker_len) -> None: Cards.__init__(self, arg, ctype) self.kicker_type = kicker_type self.kicker_len = kicker_len