Suit¶
Note
Suit inherets from the python enum.Enum()
class.
-
class
vox_cards.card.
Suit
¶ An Enumeration to make handling card suits easier.
Parameters: suit – A number between 0 and 4 denoting the suit, they are diamonds, clubs, hearts, spades, and joker respectively. Returns: Returns an enum representing the suit. str(Suit) returns the titlecase representation of the suit name. Return type: enum.Enum