Uses of Enum Class
cz.matfyz.rudad.joker.card.Suit
Packages that use Suit
Package
Description
This package contains classes related to the card functionality.
-
Uses of Suit in cz.matfyz.rudad.joker.card
Methods in cz.matfyz.rudad.joker.card that return SuitModifier and TypeMethodDescriptionstatic Suit
Suit.fromAlias
(char alias) Returns the Suit corresponding to the given alias.static Suit
Returns the Suit corresponding to the given alias.Card.getSuit()
Returns the suit of the card.static Suit
Returns the enum constant of this class with the specified name.static Suit[]
Suit.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in cz.matfyz.rudad.joker.card with parameters of type SuitModifier and TypeMethodDescriptionstatic Card
Card.getInstance
(Rank rank, Suit suit) Returns a Card instance based on the provided rank and suit.