class Cards::TestDeck

Defined in:

cards/test_deck.cr

Constructors

Instance methods inherited from class Cards::Deck

any?(*args, **options)
any?(*args, **options, &)
any?
, back : CardBack back, back=(back : CardBack) back=, cards : Array(Card) cards, cards=(cards : Array(Card)) cards=, empty?(*args, **options)
empty?(*args, **options, &)
empty?
, front : CardFront front, front=(front : CardFront) front=, jokers? : Bool jokers?, shuffle! shuffle!, size(*args, **options)
size(*args, **options, &)
size

Constructor methods inherited from class Cards::Deck

new(pull : JSON::PullParser)
new(back : Cards::CardBack = CardBacks::Bordered.new, front : Cards::CardFront = CardFronts::Standard.new, jokers : Bool = true, cards : Array(Cards::Card) = [] of Card)
new

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(back = CardBacks::Stripes.new, jokers = false, flipped = false) #

[View source]