C# Class Belot.Announcement

The announcement ( bidding ) in the current deal.
Inheritance: IComparable
Show file Open project: NikolayIT/BelotGameEngine Class Usage Examples

Public Methods

Method Description
Announcement ( AnnouncementTypeEnum type, bool isDoubled, bool isReDoubled ) : System

Creates a new announcement

CompareTo ( object obj ) : int

Compares the current Announcement to an object of type AnnouncementTypeEnum or Announcement.

Private Methods

Method Description
CompareTo ( AnnouncementTypeEnum type ) : int

Method Details

Announcement() public method

Creates a new announcement
public Announcement ( AnnouncementTypeEnum type, bool isDoubled, bool isReDoubled ) : System
type AnnouncementTypeEnum
isDoubled bool
isReDoubled bool
return System

CompareTo() public method

Compares the current Announcement to an object of type AnnouncementTypeEnum or Announcement.
public CompareTo ( object obj ) : int
obj object Object of type AnnouncementTypeEnum or Announcement to compare to.
return int