Cards::Blackjack::CardPlayer
Inherits Reference < Object
Constants
ACTION_DELAY = 0.33_f32
DEAL_DELAY = 0.13_f32
DONE_DELAY = 1.69_f32
Constructors
new(seat : Cards::Blackjack::Seat = Seat.new, chip_tray : Cards::Blackjack::ChipTray = ChipTray.new, hands : Array(Cards::Blackjack::Hand) = [] of Hand)
SourceInstance methods
action_delay
Sourcechip_tray
Sourceclear_table(discard_stack : CardStack)
Sourcecleared_table?
Sourcecurrent_hand
Sourcedeal(card_stack : CardStack)
Sourcedeal_delay
Sourcedealing?
Sourcedealt?
Sourcedelay(sec : Int32 | Float32)
Sourcedelay?
Sourcedone(_dealer : Dealer)
Sourcedone?
Sourcedone_delay
Sourcedraw(deck : Deck, screen_x = 0, screen_y = 0)
Sourcedraw_bets?
Sourcedraw_hands(deck : Deck, screen_x, screen_y)
Sourcehand_check
Sourcehands
Sourcehitting=(value : Bool)
Sourcehitting?
Sourcelog(method, message = "")
Sourcelog_name
Sourcenew_hand
Sourcenext_hand
Sourcenext_turn
Sourceplay
Sourceplayed?
Sourceplaying?
Sourceseat
Sourceseat=(seat : Seat)
Sourcesplitting?
Sourceunseated?
Sourceupdate(frame_time)
Sourceupdate_positions
Source