C# Class Belot.ComputerPlayer

Represents a computer player.
Inheritance: Player
Afficher le fichier Open project: NikolayIT/BelotGameEngine

Méthodes protégées

Méthode 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 méthode

Default constructor
protected ComputerPlayer ( )

ComputerPlayer() protected méthode

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 méthode

Raises the AnnounceMade event
protected RaiseAnnounceMade ( Announcement announce ) : void
announce Announcement
Résultat void

RaiseCardCombinationAnnounced() protected méthode

Raises the CombinationAnnounced event
protected RaiseCardCombinationAnnounced ( CardCombination combination ) : void
combination CardCombination
Résultat void