C# 클래스 JustBelot.UI.ConsoleHumanPlayer

상속: IPlayer
파일 보기 프로젝트 열기: NikolayIT/BelotGameEngine 1 사용 예제들

Private Properties

프로퍼티 타입 설명
AvailableBidsAsString string
Draw void
GameOnCardPlayed void
GameOnPlayerBid void

공개 메소드들

메소드 설명
AddCards ( IEnumerable cards ) : void
AskForBid ( Contract currentContract, IList allowedBids, IList previousBids ) : BidType
AskForCardsCombinations ( IEnumerable allowedCombinations ) : IEnumerable
ConsoleHumanPlayer ( string name ) : System
EndOfDeal ( JustBelot.Common.DealResult dealResult ) : void
PlayCard ( IList allowedCards, IList currentTrickCards ) : JustBelot.Common.PlayAction
StartNewDeal ( JustBelot.Common.DealInfo dealInfo ) : void
StartNewGame ( JustBelot.Common.GameInfo gameInfo, PlayerPosition position ) : void

비공개 메소드들

메소드 설명
AvailableBidsAsString ( IEnumerable availableBids ) : string
Draw ( ) : void
GameOnCardPlayed ( JustBelot.Common.CardPlayedEventArgs eventArgs ) : void
GameOnPlayerBid ( JustBelot.Common.BidEventArgs bidEventArgs ) : void

메소드 상세

AddCards() 공개 메소드

public AddCards ( IEnumerable cards ) : void
cards IEnumerable
리턴 void

AskForBid() 공개 메소드

public AskForBid ( Contract currentContract, IList allowedBids, IList previousBids ) : BidType
currentContract Contract
allowedBids IList
previousBids IList
리턴 BidType

AskForCardsCombinations() 공개 메소드

public AskForCardsCombinations ( IEnumerable allowedCombinations ) : IEnumerable
allowedCombinations IEnumerable
리턴 IEnumerable

ConsoleHumanPlayer() 공개 메소드

public ConsoleHumanPlayer ( string name ) : System
name string
리턴 System

EndOfDeal() 공개 메소드

public EndOfDeal ( JustBelot.Common.DealResult dealResult ) : void
dealResult JustBelot.Common.DealResult
리턴 void

PlayCard() 공개 메소드

public PlayCard ( IList allowedCards, IList currentTrickCards ) : JustBelot.Common.PlayAction
allowedCards IList
currentTrickCards IList
리턴 JustBelot.Common.PlayAction

StartNewDeal() 공개 메소드

public StartNewDeal ( JustBelot.Common.DealInfo dealInfo ) : void
dealInfo JustBelot.Common.DealInfo
리턴 void

StartNewGame() 공개 메소드

public StartNewGame ( JustBelot.Common.GameInfo gameInfo, PlayerPosition position ) : void
gameInfo JustBelot.Common.GameInfo
position PlayerPosition
리턴 void