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)
SourceClass methods
margin_x
Sourcemargin_y
SourceInstance methods
add?(stack : Stack, _auto = false)
Sourceadd_position(index = @cards.size - 1)
Sourcedouble_clicked?
Sourceflip_up_top_card
Sourceflip_up_top_card?
Sourceheight
Sourceheight_depth
Sourcemargin_x
Sourcemargin_y
Sourcetake_pressed_stack
Sourceupdate(frame_time)
Sourceupdate_cards_position
Sourcewidth
Source