class

Cards::Solitare::Stack

Inherits Cards::Solitare::Stock < Cards::CardStack < JSON::Serializable < Reference < Object

Constants

DOUBLE_CLICK_MILLISECONDS = 333
MARGIN_X = 0
MARGIN_Y = 25

Constructors

new(pull : JSON::PullParser)
Source

Class methods

margin_x
Source
margin_y
Source

Instance methods

add?(stack : Stack, _auto = false)
Source
add_position(index = @cards.size - 1)
Source
double_clicked?
Source
flip_up_top_card
Source
flip_up_top_card?
Source
height
Source
height_depth
Source
margin_x
Source
margin_y
Source
take_pressed_stack
Source
update(frame_time)
Source
update_cards_position
Source
width
Source