C# 클래스 TexasHoldem.UI.Console.ConsoleUiDecorator

상속: TexasHoldem.Logic.Players.PlayerDecorator
파일 보기 프로젝트 열기: NikolayIT/TexasHoldemGameEngine 1 사용 예제들

Private Properties

프로퍼티 타입 설명
DrawCommunityCards void
DrawGameBox void
DrawSingleCard void
GetCardColor ConsoleColor
UpdateCommonRow void

공개 메소드들

메소드 설명
ConsoleUiDecorator ( IPlayer player, int row, int width, int commonRow ) : System
GetTurn ( TexasHoldem.Logic.Players.GetTurnContext context ) : TexasHoldem.Logic.Players.PlayerAction
StartHand ( StartHandContext context ) : void
StartRound ( TexasHoldem.Logic.Players.StartRoundContext context ) : void

비공개 메소드들

메소드 설명
DrawCommunityCards ( ) : void
DrawGameBox ( ) : void
DrawSingleCard ( int row, int col, Card card ) : void
GetCardColor ( Card card ) : ConsoleColor
UpdateCommonRow ( int pot ) : void

메소드 상세

ConsoleUiDecorator() 공개 메소드

public ConsoleUiDecorator ( IPlayer player, int row, int width, int commonRow ) : System
player IPlayer
row int
width int
commonRow int
리턴 System

GetTurn() 공개 메소드

public GetTurn ( TexasHoldem.Logic.Players.GetTurnContext context ) : TexasHoldem.Logic.Players.PlayerAction
context TexasHoldem.Logic.Players.GetTurnContext
리턴 TexasHoldem.Logic.Players.PlayerAction

StartHand() 공개 메소드

public StartHand ( StartHandContext context ) : void
context StartHandContext
리턴 void

StartRound() 공개 메소드

public StartRound ( TexasHoldem.Logic.Players.StartRoundContext context ) : void
context TexasHoldem.Logic.Players.StartRoundContext
리턴 void