enum Cards::Suit

Defined in:

cards/suit.cr

Enum Members

Clubs = 0
Diamonds = 1
Spades = 2
Hearts = 3

Class Method Summary

Instance Method Summary

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]