C# Class GR.Gambling.Blackjack.Card

Inheritance: IComparable
Afficher le fichier Open project: alexhanh/Botting-Library Class Usage Examples

Méthodes publiques

Méthode Description
Card ( char suit, char rank ) : System
Card ( int index ) : System
Card ( int suit, int rank ) : System
Card ( string str ) : System
Clone ( ) : object
CompareTo ( object obj ) : int
Equals ( object obj ) : bool
GetHashCode ( ) : int
IsAce ( ) : bool
IsCard ( string card ) : bool
IsTenValue ( ) : bool
RankChar ( ) : char
RankChar ( int rank ) : char
RankFromChar ( char r ) : int
SuitChar ( ) : char
SuitChar ( int suit ) : char
SuitFromChar ( char s ) : int
ToString ( ) : string
operator ( ) : bool

Method Details

Card() public méthode

public Card ( char suit, char rank ) : System
suit char
rank char
Résultat System

Card() public méthode

public Card ( int index ) : System
index int
Résultat System

Card() public méthode

public Card ( int suit, int rank ) : System
suit int
rank int
Résultat System

Card() public méthode

public Card ( string str ) : System
str string
Résultat System

Clone() public méthode

public Clone ( ) : object
Résultat object

CompareTo() public méthode

public CompareTo ( object obj ) : int
obj object
Résultat int

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

IsAce() public méthode

public IsAce ( ) : bool
Résultat bool

IsCard() public static méthode

public static IsCard ( string card ) : bool
card string
Résultat bool

IsTenValue() public méthode

public IsTenValue ( ) : bool
Résultat bool

RankChar() public méthode

public RankChar ( ) : char
Résultat char

RankChar() public static méthode

public static RankChar ( int rank ) : char
rank int
Résultat char

RankFromChar() public static méthode

public static RankFromChar ( char r ) : int
r char
Résultat int

SuitChar() public méthode

public SuitChar ( ) : char
Résultat char

SuitChar() public static méthode

public static SuitChar ( int suit ) : char
suit int
Résultat char

SuitFromChar() public static méthode

public static SuitFromChar ( char s ) : int
s char
Résultat int

ToString() public méthode

public ToString ( ) : string
Résultat string

operator() public static méthode

public static operator ( ) : bool
Résultat bool