프로퍼티 | 타입 | 설명 | |
---|---|---|---|
KnightBishopRookQueen | Figure[] |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
allFigures | ulong | ||
allocator | MovesArrayAllocator | ||
attacksGenerators | Queem.Core.AttacksGenerators.AttacksGenerator[] | ||
bitboards | Queem.Core.BitBoards.BitBoard[] | ||
color | System.Color | ||
figures | Figure[] | ||
moveGenerators | Queem.Core.MovesGenerators.MovesGenerator[] | ||
position | PlayerPosition |
메소드 | 설명 | |
---|---|---|
AddFigure ( Square sq, Figure figure ) : void | ||
CancelMove ( int sqFrom, int sqTo ) : void | ||
GetAllFigures ( ) : ulong | ||
GetAllFiguresCount ( ) : int | ||
GetBoardProperty ( Figure figure ) : int | ||
GetKingMoves ( |
||
GetMoves ( |
||
IsUnderAttack ( Square sq, |
||
IsUnderCheck ( |
||
PlayerBoard ( PlayerPosition playerPosition, System.Color playerColor, MovesArrayAllocator arrayAllocator ) : System | ||
ProcessMove ( |
||
RefreshAllFiguresBoard ( ) : void | ||
RemoveFigure ( Square sq, Figure figure ) : void | ||
ResetAll ( ) : void | ||
SetProperty ( Figure figure, int property ) : void |
메소드 | 설명 | |
---|---|---|
AddPromotionMoves ( |
||
CreateAttacksGenerators ( ) : void | ||
CreateBitBoards ( ) : void | ||
CreateFiguresArray ( ) : void | ||
CreateMovesGenerators ( ) : void | ||
FillBitBoards ( ) : void | ||
FillFiguresArray ( ) : void | ||
GetBishopsQueens ( ) : ulong | ||
GetPawnAttacks ( ) : ulong | ||
GetRooksQueens ( ) : ulong |
public AddFigure ( Square sq, Figure figure ) : void | ||
sq | Square | |
figure | Figure | |
리턴 | void |
protected AddPromotionMoves ( |
||
innerArray | ||
index | int | |
destinationFigure | Figure | |
리턴 | void |
public GetKingMoves ( |
||
opponent | ||
mask | ulong | |
movesMask | MovesMask | |
리턴 | List |
public GetMoves ( |
||
opponent | ||
lastMove | ||
movesMask | MovesMask | |
리턴 | FixedArray |
public IsUnderAttack ( Square sq, |
||
sq | Square | |
opponentBoard | ||
리턴 | bool |
public IsUnderCheck ( |
||
opponent | ||
리턴 | bool |
public PlayerBoard ( PlayerPosition playerPosition, System.Color playerColor, MovesArrayAllocator arrayAllocator ) : System | ||
playerPosition | PlayerPosition | |
playerColor | System.Color | |
arrayAllocator | MovesArrayAllocator | |
리턴 | System |
public ProcessMove ( |
||
move | ||
figure | Figure | |
리턴 | void |
public RemoveFigure ( Square sq, Figure figure ) : void | ||
sq | Square | |
figure | Figure | |
리턴 | void |
public SetProperty ( Figure figure, int property ) : void | ||
figure | Figure | |
property | int | |
리턴 | void |
protected AttacksGenerator[],Queem.Core.AttacksGenerators attacksGenerators | ||
리턴 | Queem.Core.AttacksGenerators.AttacksGenerator[] |
protected BitBoard[],Queem.Core.BitBoards bitboards | ||
리턴 | Queem.Core.BitBoards.BitBoard[] |
protected MovesGenerator[],Queem.Core.MovesGenerators moveGenerators | ||
리턴 | Queem.Core.MovesGenerators.MovesGenerator[] |