C# Class GR.Gambling.Blackjack.Card

Inheritance: IComparable
Mostrar archivo Open project: alexhanh/Botting-Library Class Usage Examples

Public Methods

Method 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 method

public Card ( char suit, char rank ) : System
suit char
rank char
return System

Card() public method

public Card ( int index ) : System
index int
return System

Card() public method

public Card ( int suit, int rank ) : System
suit int
rank int
return System

Card() public method

public Card ( string str ) : System
str string
return System

Clone() public method

public Clone ( ) : object
return object

CompareTo() public method

public CompareTo ( object obj ) : int
obj object
return int

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

IsAce() public method

public IsAce ( ) : bool
return bool

IsCard() public static method

public static IsCard ( string card ) : bool
card string
return bool

IsTenValue() public method

public IsTenValue ( ) : bool
return bool

RankChar() public method

public RankChar ( ) : char
return char

RankChar() public static method

public static RankChar ( int rank ) : char
rank int
return char

RankFromChar() public static method

public static RankFromChar ( char r ) : int
r char
return int

SuitChar() public method

public SuitChar ( ) : char
return char

SuitChar() public static method

public static SuitChar ( int suit ) : char
suit int
return char

SuitFromChar() public static method

public static SuitFromChar ( char s ) : int
s char
return int

ToString() public method

public ToString ( ) : string
return string

operator() public static method

public static operator ( ) : bool
return bool