Свойство | Тип | Описание | |
---|---|---|---|
DestroyOccupant | void |
Метод | Описание | |
---|---|---|
GetPieceType ( ) : PieceType | ||
GetValidMoves ( |
||
IsLegalMove ( |
||
Move ( |
Метод | Описание | |
---|---|---|
GetAttacker ( |
||
GetDestinationPiece ( |
||
GetDiagonalMoves ( |
||
GetHorizontalMoves ( |
||
GetMovementModifier ( int change ) : int | ||
GetOppositeTeam ( ) : Team | ||
GetVerticalMoves ( |
||
HasCollision ( |
||
InBounds ( int row, int column ) : bool | ||
LegalDirectionByTeam ( ) : int | ||
SetupNewMove ( int row, int column ) : |
||
ValidateNotAttackingSameTeam ( |
Метод | Описание | |
---|---|---|
DestroyOccupant ( |
protected GetAttacker ( |
||
board | ||
move | ||
Результат |
protected GetDestinationPiece ( |
||
board | ||
move | ||
Результат |
protected GetDiagonalMoves ( |
||
board | ||
row | int | |
column | int | |
endPositions | int>.List | |
Результат | void |
protected GetHorizontalMoves ( |
||
board | ||
row | int | |
column | int | |
endPositions | int>.List | |
Результат | void |
protected GetMovementModifier ( int change ) : int | ||
change | int | |
Результат | int |
public abstract GetValidMoves ( |
||
board | ||
Результат | IEnumerable |
protected GetVerticalMoves ( |
||
board | ||
column | int | |
row | int | |
endPositions | int>.List | |
Результат | void |
protected HasCollision ( |
||
board | ||
move | ||
Результат | bool |
protected InBounds ( int row, int column ) : bool | ||
row | int | |
column | int | |
Результат | bool |
public abstract IsLegalMove ( |
||
board | ||
move | ||
pastMoves | IEnumerable |
|
Результат | bool |
public Move ( |
||
board | ||
move | ||
Результат | void |
protected SetupNewMove ( int row, int column ) : |
||
row | int | |
column | int | |
Результат |
protected ValidateNotAttackingSameTeam ( |
||
board | ||
move | ||
Результат | void |