C# Class Belot.SequentialCombination

Summary description for SequentialCombination.
Inheritance: CardCombination
Show file Open project: NikolayIT/BelotGameEngine Class Usage Examples

Public Methods

Method Description
CompareTo ( object combination ) : int

Compares current combination to another one

SequentialCombination ( CardsCollection cards, int points ) : System

Creates a sequential 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

SequentialCombination() public method

Creates a sequential combination of cards
public SequentialCombination ( CardsCollection cards, int points ) : System
cards CardsCollection cards that the combination consists of
points int point evaluation of the combination
return System