public class ChessMovePath extends ChessBoardPath
| Constructor and Description |
|---|
ChessMovePath(ChessBoardCoord s,
ChessBoardCoord d) |
ChessMovePath(ChessBoardCoord s,
ChessBoardCoord d,
ChessPieceType promotedPieceType) |
ChessMovePath(java.lang.String s,
java.lang.String d) |
ChessMovePath(java.lang.String s,
java.lang.String d,
ChessPieceType promotedPieceType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
ChessPieceType |
getPromotedPieceType() |
int |
hashCode() |
java.lang.String |
toString() |
get4Distance, get8Distance, getDestination, getSource, isOverlappingpublic ChessMovePath(ChessBoardCoord s, ChessBoardCoord d)
public ChessMovePath(java.lang.String s,
java.lang.String d)
public ChessMovePath(ChessBoardCoord s, ChessBoardCoord d, ChessPieceType promotedPieceType)
public ChessMovePath(java.lang.String s,
java.lang.String d,
ChessPieceType promotedPieceType)
public ChessPieceType getPromotedPieceType()
public boolean equals(java.lang.Object obj)
equals in class ChessBoardPathpublic int hashCode()
hashCode in class ChessBoardPathpublic java.lang.String toString()
toString in class ChessBoardPathCopyright © 2015. All Rights Reserved.