Cards::Solitare::Foundation
Inherits Cards::Solitare::Waste < Cards::Solitare::Stack < Cards::Solitare::Stock < Cards::CardStack < JSON::Serializable < Reference < Object
Constants
MARGIN_X = 0
MARGIN_Y = 0
Constructors
new(pull : JSON::PullParser)
SourceClass methods
margin_x
Sourcemargin_y
SourceInstance methods
add?(stack : Stack)
Sourceadd?(card : Card)
Sourceadd_position(index = @cards.size - 1)
Sourcedraw(deck : Deck, screen_x = 0, screen_y = 0)
Sourcemouse_in?
Sourcesuit
Source