class

Cards::Blackjack::ChipTray

Inherits Reference < Object

Constants

MAX_CHIPS = 10

Constructors

new(y : Float32 | Int32 = 0, balance = 0)
Source

Instance methods

add(chip : Chip)
Source
add_position(chip : Chip)
Source
chip_stacks
Source
chip_value
Source
draw(screen_x, screen_y)
Source
largest(bet) : Chip | Nil
Source
selected_chip
Source
update(frame_time)
Source
update_positions(seat : Seat)
Source
update_select_chip(amount : Chip::Amount)
Source