C# Class Belot.FourEqualsCombination

Summary description for FourEqualsCombination.
Inheritance: CardCombination
ファイルを表示 Open project: NikolayIT/BelotGameEngine Class Usage Examples

Public Methods

Method Description
CompareTo ( object combination ) : int

Compares current combination to another one

FourEqualsCombination ( CardsCollection cards, int points ) : System

Creates an equal combination of cards

Method Details

CompareTo() public method

Compares current combination to another one
public CompareTo ( object combination ) : int
combination object combination to compare to
return int

FourEqualsCombination() public method

Creates an equal combination of cards
public FourEqualsCombination ( CardsCollection cards, int points ) : System
cards CardsCollection cards that the combination consists of
points int point evaluation of the combination
return System