(self, player_to_pay_to)
IGNORES SIDEPOT RANKS

        Args:
            player_to_pay_to (PokerPlayer)
IGNORES SIDEPOT RANKS
IGNORES SIDEPOT RANKS
def _pay_all_to_one_player(self, player_to_pay_to):
        """
        IGNORES SIDEPOT RANKS

        Args:
            player_to_pay_to (PokerPlayer)
        """
        for seat in self.seats:
            player_to_pay_to.award(seat.current_bet)
            seat.current_bet = 0

        player_to_pay_to.award(sum(self.side_pots))
        self.side_pots = [0] * self.N_SEATS

        player_to_pay_to.award(self.main_pot)
        self.main_pot = 0
def _pay_all_to_one_player ( self , player_to_pay_to ) : for seat in self . seats : player_to_pay_to . award ( seat . current_bet ) seat . current_bet = 0 player_to_pay_to . award ( sum ( self . side_pots ) ) self . side_pots = [ 0 ] * self . N_SEATS player_to_pay_to . award ( self . main_pot ) self . main_pot = 0