Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
cards
master
Cards
Blackjack
CardPlayer
ChipTray
CpuPlayer
Dealer
GameMode
Hand
Result
Key
Manager
Player
Seat
SeatPlayer
Card
CardBack
CardBacks
Bordered
Stripes
CardFront
CardFronts
Standard
CardStack
Chip
Amount
ChipStack
Deck
GameMode
Key
Main
MainMenu
Menu
MenuItem
MenuItemInput
Popup
Rank
SaveMenu
Solitare
Foundation
FoundationSpriteConverter
GameMode
Stack
Stock
Waste
StandardDeck
Suit
TestDeck
Built with Crystal 1.9.2
2023-10-07 18:23:33 UTC
enum
Cards::Suit
Defined in:
cards/suit.cr
Enum Members
Clubs
=
0
Diamonds
=
1
Spades
=
2
Hearts
=
3
Class Method Summary
.sym_from_sprite_string
(string : String)
Instance Method Summary
#clubs?
#color
#diamonds?
#hearts?
#name
#pair?
(suit : Suit)
#short_name
#spades?
#sprite_sym
Class Method Detail
def self.
sym_from_sprite_string
(string : String)
#
[
View source
]
Instance Method Detail
def
clubs?
#
[
View source
]
def
color
#
[
View source
]
def
diamonds?
#
[
View source
]
def
hearts?
#
[
View source
]
def
name
#
[
View source
]
def
pair?
(suit :
Suit
)
#
[
View source
]
def
short_name
#
[
View source
]
def
spades?
#
[
View source
]
def
sprite_sym
#
[
View source
]