C# 클래스 ChessServer.GameLogic.AttackMap

파일 보기 프로젝트 열기: Beginner7/Command2 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Attackers ].List
[

공개 메소드들

메소드 설명
AttackMap ( List moves, Board forceBoard = null, bool isRecursive = false ) : System
IsContains ( Figure figure ) : bool
MoveVariants ( string cell ) : List
this ( string cell ) : List

비공개 메소드들

메소드 설명
Castling ( List moves, Board board, Figure king, Figure rook ) : void
CastlingFunc ( Board board, Figure king, Figure rook, int rows, char rookX ) : void
East ( Board board, char i, int currentCell, Figure currentFigure ) : void
IsColorFigureAttack ( IEnumerable
figure, Side side ) : bool
KingKnightStep ( Board board, Figure currentFigure, char x, int y ) : void
North ( Board board, char i, int currentCell, Figure currentFigure ) : void
NorthEast ( Board board, char i, int currentCell, Figure currentFigure ) : void
NorthWest ( Board board, char i, int currentCell, Figure currentFigure ) : void
PassedPawn ( IReadOnlyList moves, Board board, Figure pawn ) : void
South ( Board board, char i, int currentCell, Figure currentFigure ) : void
SouthEast ( Board board, char i, int currentCell, Figure currentFigure ) : void
SouthWest ( Board board, char i, int currentCell, Figure currentFigure ) : void
West ( Board board, char i, int currentCell, Figure currentFigure ) : void

메소드 상세

AttackMap() 공개 메소드

public AttackMap ( List moves, Board forceBoard = null, bool isRecursive = false ) : System
moves List
forceBoard Protocol.GameObjects.Board
isRecursive bool
리턴 System

IsContains() 공개 메소드

public IsContains ( Figure figure ) : bool
figure Protocol.GameObjects.Figure
리턴 bool

MoveVariants() 공개 메소드

public MoveVariants ( string cell ) : List
cell string
리턴 List

this() 공개 메소드

public this ( string cell ) : List
cell string
리턴 List

프로퍼티 상세

Attackers 공개적으로 프로퍼티

public List
[,] Attackers
리턴 ].List
[