C# 클래스 Belot.BelotGame

Belot Game.
파일 보기 프로젝트 열기: NikolayIT/BelotGameEngine 1 사용 예제들

공개 메소드들

메소드 설명
BelotGame ( Player south, Player east, Player north, Player west ) : System.Collections.Generic

Creates new belot game

GetPlayer ( PlayerPosition position ) : Player

/// Gets the position of a given player on the table. ///

Gets the player of a given position on the table.

StartGame ( ) : void

Starts a new belot game.

보호된 메소드들

메소드 설명
RaiseBiddingCompleted ( Player winner, Announcement announce ) : void

Raises the BiddingCompleted event

RaiseGameCompleted ( Player winner1, Player winner2 ) : void

Raises the DealStarted event

RaiseHandClosed ( Hand hand ) : void

Raises the HandClosed event

비공개 메소드들

메소드 설명
FinalizeDeal ( ) : void
GetNextPlayer ( Player currentPlayer ) : Player
GetTeamPlayer ( Player currentPlayer ) : Player
HandIsClosed ( Hand hand ) : void
NextDeal ( ) : void
RaiseDealCompleted ( ) : void

Raises the DealCompleted event

RaiseDealStarted ( ) : void

Raises the DealStarted event

메소드 상세

BelotGame() 공개 메소드

Creates new belot game
public BelotGame ( Player south, Player east, Player north, Player west ) : System.Collections.Generic
south Player
east Player
north Player
west Player
리턴 System.Collections.Generic

GetPlayer() 공개 메소드

/// Gets the position of a given player on the table. /// Gets the player of a given position on the table.
public GetPlayer ( PlayerPosition position ) : Player
position PlayerPosition
리턴 Player

RaiseBiddingCompleted() 보호된 메소드

Raises the BiddingCompleted event
protected RaiseBiddingCompleted ( Player winner, Announcement announce ) : void
winner Player
announce Announcement
리턴 void

RaiseGameCompleted() 보호된 메소드

Raises the DealStarted event
protected RaiseGameCompleted ( Player winner1, Player winner2 ) : void
winner1 Player
winner2 Player
리턴 void

RaiseHandClosed() 보호된 메소드

Raises the HandClosed event
protected RaiseHandClosed ( Hand hand ) : void
hand Hand
리턴 void

StartGame() 공개 메소드

Starts a new belot game.
public StartGame ( ) : void
리턴 void