Méthode | Description | |
---|---|---|
AnnounceCombination ( |
The player has a combination in his cards.
|
|
MakeAnnouncement ( |
The player makes an announcement (bidding). Player has to ask the manager if desired announcement is valid. Otherwise returning invalid announcement throws exception.
|
Méthode | Description | |
---|---|---|
PlayCard ( |
The player has to play a card. Player has to ask the manager if desired card is valid. Otherwise returning invalid card throws exception.
|
|
Player ( ) : System |
Constructor for the class.
|
|
Player ( string name ) : System |
Constructor for the class. Creates a new player with the specified name.
|
|
RaiseCardPlayed ( |
Raises the CardsChanged event
|
|
RaiseCardPlaying ( |
Raises the CardPlaying event
|
|
RaiseCardsChanged ( ) : void |
Raises the CardsChanged event
|
Méthode | Description | |
---|---|---|
SetPosition ( PlayerPosition position ) : void |
public abstract AnnounceCombination ( |
||
combination | The combination of cards tha player has | |
Résultat | bool |
public abstract MakeAnnouncement ( |
||
manager | Manager that observes bidding rules | |
Résultat |
protected abstract PlayCard ( |
||
manager | Manager that observes playing rules | |
Résultat | void |
protected Player ( string name ) : System | ||
name | string | The name of the player |
Résultat | System |
protected RaiseCardPlayed ( |
||
card | ||
Résultat | void |
protected RaiseCardPlaying ( |
||
manager | ||
Résultat | void |