final TransportationMethod transportation,
final Coordinate coordinateA,
final Coordinate coordinateB) throws GameException{
super();
if(boardMap==null){
throw new GameException("BoardMap must be specified");
}
if(transportation==null){
throw new GameException("TransportationMethod must be specified");
}
if(coordinateA==null){
throw new GameException("coordinateA must be specified");
}
if(coordinateB==null){
throw new GameException("coordinateB must be specified");
}
if(!coordinateA.getBoardMap().equals(coordinateB.getBoardMap())){
// System.out.println(coordinateA.getBoardMap());
// System.out.println(coordinateB.getBoardMap());
throw new GameException("coordinateA and coordinateB must be from the same Board Map ");
}
if(!boardMap.equals(coordinateB.getBoardMap())){
throw new GameException("coordinateA and coordinateB Board Map has to be the same as the link BoardMap");
}
this.boardMap=boardMap;
this.transportation = transportation;
if(coordinateA.compareTo(coordinateB)<0){