C# 클래스 ChessDotNet.Variants.RacingKings.RacingKingsChessGame

상속: ChessGame
파일 보기 프로젝트 열기: ProgramFOX/Chess.NET

공개 메소드들

메소드 설명
IsDraw ( ) : bool
IsWinner ( Player player ) : bool
RacingKingsChessGame ( ) : ChessDotNet.Pieces
RacingKingsChessGame ( GameCreationData data ) : ChessDotNet.Pieces
RacingKingsChessGame ( IEnumerable moves, bool movesAreValidated ) : ChessDotNet.Pieces
RacingKingsChessGame ( Piece board, Player whoseTurn ) : ChessDotNet.Pieces
RacingKingsChessGame ( string fen ) : ChessDotNet.Pieces

보호된 메소드들

메소드 설명
FindKing ( Player player ) : Position
IsKingOnBackRank ( Player player ) : bool
IsValidMove ( Move move, bool validateCheck, bool careAboutWhoseTurnItIs ) : bool

메소드 상세

FindKing() 보호된 메소드

protected FindKing ( Player player ) : Position
player Player
리턴 Position

IsDraw() 공개 메소드

public IsDraw ( ) : bool
리턴 bool

IsKingOnBackRank() 보호된 메소드

protected IsKingOnBackRank ( Player player ) : bool
player Player
리턴 bool

IsValidMove() 보호된 메소드

protected IsValidMove ( Move move, bool validateCheck, bool careAboutWhoseTurnItIs ) : bool
move Move
validateCheck bool
careAboutWhoseTurnItIs bool
리턴 bool

IsWinner() 공개 메소드

public IsWinner ( Player player ) : bool
player Player
리턴 bool

RacingKingsChessGame() 공개 메소드

public RacingKingsChessGame ( ) : ChessDotNet.Pieces
리턴 ChessDotNet.Pieces

RacingKingsChessGame() 공개 메소드

public RacingKingsChessGame ( GameCreationData data ) : ChessDotNet.Pieces
data GameCreationData
리턴 ChessDotNet.Pieces

RacingKingsChessGame() 공개 메소드

public RacingKingsChessGame ( IEnumerable moves, bool movesAreValidated ) : ChessDotNet.Pieces
moves IEnumerable
movesAreValidated bool
리턴 ChessDotNet.Pieces

RacingKingsChessGame() 공개 메소드

public RacingKingsChessGame ( Piece board, Player whoseTurn ) : ChessDotNet.Pieces
board Piece
whoseTurn Player
리턴 ChessDotNet.Pieces

RacingKingsChessGame() 공개 메소드

public RacingKingsChessGame ( string fen ) : ChessDotNet.Pieces
fen string
리턴 ChessDotNet.Pieces