C# 클래스 ChessDotNet.Variants.Atomic.AtomicChessGame

상속: ChessGame
파일 보기 프로젝트 열기: ProgramFOX/Chess.NET 1 사용 예제들

공개 메소드들

메소드 설명
ApplyMove ( Move move, bool alreadyValidated ) : MoveType
AtomicChessGame ( ) : System.Collections.Generic
AtomicChessGame ( GameCreationData data ) : System.Collections.Generic
AtomicChessGame ( IEnumerable moves, bool movesAreValidated ) : System.Collections.Generic
AtomicChessGame ( Piece board, Player whoseTurn ) : System.Collections.Generic
AtomicChessGame ( string fen ) : System.Collections.Generic
IsWinner ( Player player ) : bool
KingIsGone ( Player player ) : bool

보호된 메소드들

메소드 설명
IsValidMove ( Move move, bool validateCheck, bool careAboutWhoseTurnItIs ) : bool
WouldBeSuicide ( Move move, Player player ) : bool
WouldBeSuicideOrInvalidSelfMoveInCheck ( Move move, Player player ) : bool

메소드 상세

ApplyMove() 공개 메소드

public ApplyMove ( Move move, bool alreadyValidated ) : MoveType
move Move
alreadyValidated bool
리턴 MoveType

AtomicChessGame() 공개 메소드

public AtomicChessGame ( ) : System.Collections.Generic
리턴 System.Collections.Generic

AtomicChessGame() 공개 메소드

public AtomicChessGame ( GameCreationData data ) : System.Collections.Generic
data GameCreationData
리턴 System.Collections.Generic

AtomicChessGame() 공개 메소드

public AtomicChessGame ( IEnumerable moves, bool movesAreValidated ) : System.Collections.Generic
moves IEnumerable
movesAreValidated bool
리턴 System.Collections.Generic

AtomicChessGame() 공개 메소드

public AtomicChessGame ( Piece board, Player whoseTurn ) : System.Collections.Generic
board Piece
whoseTurn Player
리턴 System.Collections.Generic

AtomicChessGame() 공개 메소드

public AtomicChessGame ( string fen ) : System.Collections.Generic
fen string
리턴 System.Collections.Generic

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

KingIsGone() 공개 메소드

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

WouldBeSuicide() 보호된 메소드

protected WouldBeSuicide ( Move move, Player player ) : bool
move Move
player Player
리턴 bool

WouldBeSuicideOrInvalidSelfMoveInCheck() 보호된 메소드

protected WouldBeSuicideOrInvalidSelfMoveInCheck ( Move move, Player player ) : bool
move Move
player Player
리턴 bool