C# 클래스 AIPlayers.AIPlayer

상속: Belot.ComputerPlayer
파일 보기 프로젝트 열기: NikolayIT/BelotGameEngine

공개 메소드들

메소드 설명
AIPlayer ( string name ) : System

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

AnnounceCombination ( CardCombination combination ) : bool
MakeAnnouncement ( AnnouncementManager manager ) : Announcement

보호된 메소드들

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

비공개 메소드들

메소드 설명
AIPlayer ( ) : System
EvalutePointsOnPartnerAnnounce ( Card targetCard ) : int
EvalutePointsOnRemaining ( Card targetCard ) : int
EvalutePointsOnTrumpColor ( Card targetCard ) : int
FindZeroEvaluatedColor ( IList validCards, IList &zeroEvaluatedColors ) : bool
GetCardColor ( AnnouncementTypeEnum type ) : CardColor
GetCurrentMaxCardInColor ( CardColor color ) : Card
GetDistance ( Card card, Card maxCard, Announcement announce ) : int
GetDistanceNoTrumps ( Card card, Card maxCard ) : int
GetDistanceTrumps ( Card card, Card maxCard ) : int
GetPlayingColor ( ) : CardColor
GetTrumpColor ( ) : CardColor
GetValidCards ( ) : IList
IsCurrentMaxCardInPlayingColor ( Card targetCard ) : bool

메소드 상세

AIPlayer() 공개 메소드

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

AnnounceCombination() 공개 메소드

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

MakeAnnouncement() 공개 메소드

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

PlayCard() 보호된 메소드

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