class Cards::Blackjack::Player

Defined in:

cards/blackjack/player.cr

Instance Method Summary

Instance methods inherited from class Cards::Blackjack::SeatPlayer

add_chip(chip : Chip) add_chip, balance balance, betting_update(frame_time) betting_update, can_double_bet? can_double_bet?, can_split? can_split?, chip_delay chip_delay, clear_bet clear_bet, clear_chip(chip_stack : ChipStack) clear_chip, clear_table(discard_stack : CardStack) clear_table, cleared_chips? cleared_chips?, clearing_bet? : Bool clearing_bet?, confirm_bet confirm_bet, confirmed_bet? confirmed_bet?, deal(card_stack : CardStack) deal, done(dealer : Dealer) done, double_bet double_bet, double_down double_down, doubling_bet? : Bool doubling_bet?, draw(deck : Deck, screen_x = 0, screen_y = 0) draw, draw_balance(screen_x = 0, screen_y = 0) draw_balance, draw_bets? draw_bets?, draw_name(screen_x = 0, screen_y = 0) draw_name, hit hit, hitting=(value : Bool) hitting=, leave_table leave_table, leave_table? : Bool leave_table?, log_name log_name, move_chips move_chips, name : String name, new_hand new_hand, paid? paid?, place_bet(chip : Chip) place_bet, placing_bet? : Bool placing_bet?, playing_update(_frame_time) playing_update, settle_bet(dealer : Dealer) settle_bet, settling_bets? settling_bets?, split split, split_hand split_hand, splitting? : Bool splitting?, stand stand, update(frame_time) update

Constructor methods inherited from class Cards::Blackjack::SeatPlayer

new(name : String = "", seat = Seat.new, balance = 0) new

Instance methods inherited from class Cards::Blackjack::CardPlayer

action_delay action_delay, chip_tray : ChipTray chip_tray, clear_table(discard_stack : CardStack) clear_table, cleared_table? cleared_table?, current_hand current_hand, deal(card_stack : CardStack) deal, deal_delay deal_delay, dealing? dealing?, dealt? dealt?, delay(sec : Int32 | Float32) delay, delay? delay?, done(_dealer : Dealer) done, done? : Bool done?, done_delay done_delay, draw(deck : Deck, screen_x = 0, screen_y = 0) draw, draw_bets? draw_bets?, draw_hands(deck : Deck, screen_x, screen_y) draw_hands, hand_check hand_check, hands : Array(Hand) hands, hitting=(value : Bool) hitting=, hitting? hitting?, log(method, message = "") log, log_name log_name, new_hand new_hand, next_hand next_hand, next_turn next_turn, play play, played? played?, playing? playing?, seat : Seat seat, seat=(seat : Seat) seat=, splitting? splitting?, unseated? unseated?, update(frame_time) update, update_positions update_positions

Constructor methods inherited from class Cards::Blackjack::CardPlayer

new(seat : Cards::Blackjack::Seat = Seat.new, chip_tray : Cards::Blackjack::ChipTray = ChipTray.new, hands : Array(Cards::Blackjack::Hand) = [] of Hand) new

Instance Method Detail

def betting_update(frame_time) #

[View source]
def playing_update(_frame_time) #

[View source]
def toggle_clear_bet #

[View source]