C# 클래스 SharpBelot.HumanPlayer

Represents a human player.
상속: Belot.Player
파일 보기 프로젝트 열기: NikolayIT/BelotGameEngine 1 사용 예제들

공개 메소드들

메소드 설명
AnnounceCombination ( CardCombination combination ) : bool
HumanPlayer ( string name ) : System

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

MakeAnnouncement ( AnnouncementManager manager ) : Announcement
PlayCard ( Card card ) : void

보호된 메소드들

메소드 설명
PlayCard ( PlayingManager manager ) : void
RaiseAnnounceMaking ( AnnouncementManager manager ) : Announcement

Raises the AnnounceMaking event

RaiseCardCombinationAnnouncing ( CardCombination combination ) : bool

Raises the CardCombinationAnnouncing event

메소드 상세

AnnounceCombination() 공개 메소드

public AnnounceCombination ( CardCombination combination ) : bool
combination Belot.CardCombination
리턴 bool

HumanPlayer() 공개 메소드

Constructor for the class. Creates a new human player with the specified name.
public HumanPlayer ( string name ) : System
name string The name of the player
리턴 System

MakeAnnouncement() 공개 메소드

public MakeAnnouncement ( AnnouncementManager manager ) : Announcement
manager Belot.AnnouncementManager
리턴 Belot.Announcement

PlayCard() 공개 메소드

public PlayCard ( Card card ) : void
card Belot.Card
리턴 void

PlayCard() 보호된 메소드

protected PlayCard ( PlayingManager manager ) : void
manager Belot.PlayingManager
리턴 void

RaiseAnnounceMaking() 보호된 메소드

Raises the AnnounceMaking event
protected RaiseAnnounceMaking ( AnnouncementManager manager ) : Announcement
manager Belot.AnnouncementManager
리턴 Belot.Announcement

RaiseCardCombinationAnnouncing() 보호된 메소드

Raises the CardCombinationAnnouncing event
protected RaiseCardCombinationAnnouncing ( CardCombination combination ) : bool
combination Belot.CardCombination
리턴 bool