public class ChessBoardPath extends Object implements Serializable
| Modifier | Constructor and Description |
|---|---|
protected |
ChessBoardPath() |
|
ChessBoardPath(ChessBoardCoord source,
ChessBoardCoord destination) |
|
ChessBoardPath(String source,
String destination) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
get4Distance() |
int |
get8Distance() |
ChessBoardCoord |
getDestination() |
ChessBoardCoord |
getSource() |
int |
hashCode() |
boolean |
isOverlapping(ChessBoardCoord c) |
String |
toString() |
protected ChessBoardPath()
public ChessBoardPath(ChessBoardCoord source, ChessBoardCoord destination)
public ChessBoardCoord getSource()
public ChessBoardCoord getDestination()
public int get4Distance()
public int get8Distance()
public boolean isOverlapping(ChessBoardCoord c)
Copyright © 2016. All Rights Reserved.