C# 클래스 Chess.Data.Piece.Rook

상속: Chess.Data.Entities.ChessPiece
파일 보기 프로젝트 열기: colin-higgins/ChessSharp

공개 메소드들

메소드 설명
GetValidMoves ( Square board ) : IEnumerable
IsLegalMove ( Square board, Move move, IEnumerable pastMoves = null ) : bool
Rook ( ) : System

메소드 상세

GetValidMoves() 공개 메소드

public GetValidMoves ( Square board ) : IEnumerable
board Chess.Data.Entities.Square
리턴 IEnumerable

IsLegalMove() 공개 메소드

public IsLegalMove ( Square board, Move move, IEnumerable pastMoves = null ) : bool
board Chess.Data.Entities.Square
move Chess.Data.Entities.Move
pastMoves IEnumerable
리턴 bool

Rook() 공개 메소드

public Rook ( ) : System
리턴 System