C# 클래스 ChessDotNet.Pieces.Pawn

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

공개 메소드들

메소드 설명
GetFenCharacter ( ) : char
GetValidMoves ( Position from, bool returnIfAny, ChessGame game, bool>.Func gameMoveValidator ) : ReadOnlyCollection
IsValidMove ( Move move, ChessGame game ) : bool
Pawn ( Player owner ) : System

메소드 상세

GetFenCharacter() 공개 메소드

public GetFenCharacter ( ) : char
리턴 char

GetValidMoves() 공개 메소드

public GetValidMoves ( Position from, bool returnIfAny, ChessGame game, bool>.Func gameMoveValidator ) : ReadOnlyCollection
from Position
returnIfAny bool
game ChessGame
gameMoveValidator bool>.Func
리턴 ReadOnlyCollection

IsValidMove() 공개 메소드

public IsValidMove ( Move move, ChessGame game ) : bool
move Move
game ChessGame
리턴 bool

Pawn() 공개 메소드

public Pawn ( Player owner ) : System
owner Player
리턴 System