C# Class Belot.ComputerPlayer

Represents a computer player.
Inheritance: Player
Datei anzeigen Open project: NikolayIT/BelotGameEngine

Protected Methods

Method Description
ComputerPlayer ( )

Default constructor

ComputerPlayer ( string name )

Constructor for the class. Creates a new computer player with the specified name.

RaiseAnnounceMade ( Announcement announce ) : void

Raises the AnnounceMade event

RaiseCardCombinationAnnounced ( CardCombination combination ) : void

Raises the CombinationAnnounced event

Method Details

ComputerPlayer() protected method

Default constructor
protected ComputerPlayer ( )

ComputerPlayer() protected method

Constructor for the class. Creates a new computer player with the specified name.
protected ComputerPlayer ( string name )
name string The name of the player

RaiseAnnounceMade() protected method

Raises the AnnounceMade event
protected RaiseAnnounceMade ( Announcement announce ) : void
announce Announcement
return void

RaiseCardCombinationAnnounced() protected method

Raises the CombinationAnnounced event
protected RaiseCardCombinationAnnounced ( CardCombination combination ) : void
combination CardCombination
return void