프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 |
public abstract GetValidMoves ( |
||
board | ||
리턴 | IEnumerable |
protected GetVerticalMoves ( |
||
board | ||
column | int | |
row | int | |
endPositions | int>.List | |
리턴 | void |
protected HasCollision ( |
||
board | ||
move | ||
리턴 | bool |
public abstract IsLegalMove ( |
||
board | ||
move | ||
pastMoves | IEnumerable |
|
리턴 | bool |
protected SetupNewMove ( int row, int column ) : |
||
row | int | |
column | int | |
리턴 |
protected ValidateNotAttackingSameTeam ( |
||
board | ||
move | ||
리턴 | void |