C# Class GR.Gambling.Blackjack.Hand

Show file Open project: alexhanh/Botting-Library Class Usage Examples

Public Methods

Method Description
AddCard ( Card card ) : void
Double ( Card card ) : void
GetEnumerator ( ) : IEnumerator
Hand ( ) : System
Hand ( CardSet cards ) : System
HardTotal ( ) : int
HasAce ( ) : bool
Hit ( Card card ) : void
IsBust ( ) : bool
IsNatural ( ) : bool
IsPair ( ) : bool
IsSplit ( ) : bool
PointCount ( ) : int
Reset ( ) : void
SoftTotal ( ) : int
Split ( Card card1, Card card2 ) : GR.Gambling.Blackjack.Hand[]
Stand ( ) : void
Surrender ( ) : void
ToString ( ) : string
this ( int index ) : Card

Method Details

AddCard() public method

public AddCard ( Card card ) : void
card Card
return void

Double() public method

public Double ( Card card ) : void
card Card
return void

GetEnumerator() public method

public GetEnumerator ( ) : IEnumerator
return IEnumerator

Hand() public method

public Hand ( ) : System
return System

Hand() public method

public Hand ( CardSet cards ) : System
cards CardSet
return System

HardTotal() public method

public HardTotal ( ) : int
return int

HasAce() public method

public HasAce ( ) : bool
return bool

Hit() public method

public Hit ( Card card ) : void
card Card
return void

IsBust() public method

public IsBust ( ) : bool
return bool

IsNatural() public method

public IsNatural ( ) : bool
return bool

IsPair() public method

public IsPair ( ) : bool
return bool

IsSplit() public method

public IsSplit ( ) : bool
return bool

PointCount() public method

public PointCount ( ) : int
return int

Reset() public method

public Reset ( ) : void
return void

SoftTotal() public method

public SoftTotal ( ) : int
return int

Split() public method

public Split ( Card card1, Card card2 ) : GR.Gambling.Blackjack.Hand[]
card1 Card
card2 Card
return GR.Gambling.Blackjack.Hand[]

Stand() public method

public Stand ( ) : void
return void

Surrender() public method

public Surrender ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

this() public method

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