C# Class GR.Gambling.Blackjack.CardSet

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

Public Methods

Method Description
Add ( Card card ) : void
Add ( CardSet cards ) : void
Add ( string cards ) : void
CardSet ( ) : System
CardSet ( Card cards ) : System
CardSet ( CardSet card_set ) : System
CardSet ( int num_cards ) : System
CardSet ( string cards ) : System
CheatToDealPair ( Random rand ) : void
Clear ( ) : void
Clone ( ) : object
Equals ( object obj ) : bool
ExtractRandom ( Random rand, int count ) : CardSet
ExtractTop ( ) : Card
ExtractTop ( int count ) : CardSet
GetCards ( ) : GR.Gambling.Blackjack.Card[]
GetEnumerator ( ) : IEnumerator
GetHashCode ( ) : int
Parse ( string s ) : CardSet
Remove ( Card card ) : void
Remove ( CardSet cards ) : void
Shuffle ( Random rand ) : void
ToCountsString ( ) : string
ToString ( ) : string
operator ( ) : CardSet
this ( int index ) : Card

Private Methods

Method Description
AddCount ( Card card ) : void
RemoveCount ( Card card ) : void
UpdateCount ( ) : void

Method Details

Add() public method

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

Add() public method

public Add ( CardSet cards ) : void
cards CardSet
return void

Add() public method

public Add ( string cards ) : void
cards string
return void

CardSet() public method

public CardSet ( ) : System
return System

CardSet() public method

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

CardSet() public method

public CardSet ( CardSet card_set ) : System
card_set CardSet
return System

CardSet() public method

public CardSet ( int num_cards ) : System
num_cards int
return System

CardSet() public method

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

CheatToDealPair() public method

public CheatToDealPair ( Random rand ) : void
rand System.Random
return void

Clear() public method

public Clear ( ) : void
return void

Clone() public method

public Clone ( ) : object
return object

Equals() public method

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

ExtractRandom() public method

public ExtractRandom ( Random rand, int count ) : CardSet
rand System.Random
count int
return CardSet

ExtractTop() public method

public ExtractTop ( ) : Card
return Card

ExtractTop() public method

public ExtractTop ( int count ) : CardSet
count int
return CardSet

GetCards() public method

public GetCards ( ) : GR.Gambling.Blackjack.Card[]
return GR.Gambling.Blackjack.Card[]

GetEnumerator() public method

public GetEnumerator ( ) : IEnumerator
return IEnumerator

GetHashCode() public method

public GetHashCode ( ) : int
return int

Parse() public static method

public static Parse ( string s ) : CardSet
s string
return CardSet

Remove() public method

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

Remove() public method

public Remove ( CardSet cards ) : void
cards CardSet
return void

Shuffle() public method

public Shuffle ( Random rand ) : void
rand System.Random
return void

ToCountsString() public method

public ToCountsString ( ) : string
return string

ToString() public method

public ToString ( ) : string
return string

operator() public static method

public static operator ( ) : CardSet
return CardSet

this() public method

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