Documentation generated. Some errors corrected in the code.
This commit is contained in:
@ -251,7 +251,7 @@ public class Move {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the moving {@link piece} of a Move.
|
||||
* Returns the moving {@link Piece} of a Move.
|
||||
* @return Piece
|
||||
* @see Piece
|
||||
*/
|
||||
|
@ -57,7 +57,7 @@ public class Rules {
|
||||
/**
|
||||
* Computes the possible moves from a given {@link Square}
|
||||
* according to the current status of the {@link Board}
|
||||
* @param square The square from which the move must start
|
||||
* @param fromSquare The square from which the move must start
|
||||
* @param board The current board position.
|
||||
* @throws NotAValidSquare If the program throws this exception then there is a bug.
|
||||
* @throws UnexpectedError This should never happen.
|
||||
@ -293,7 +293,7 @@ public class Rules {
|
||||
}
|
||||
|
||||
/**
|
||||
* This function return the current status of the ArrayList<Move> of all legal {@link Moves}
|
||||
* This function return the current status of the ArrayList<Move> of all legal {@link Move}
|
||||
* without a capture.
|
||||
* You need to call legalMovesFromSquare before calling this function.
|
||||
* @return ArrayList<Move>
|
||||
@ -303,7 +303,7 @@ public class Rules {
|
||||
}
|
||||
|
||||
/**
|
||||
* This function return the current status of the ArrayList<Move> of all legal {@link Moves}
|
||||
* This function return the current status of the ArrayList<Move> of all legal {@link Move}
|
||||
* with a capture.
|
||||
* You need to call legalMovesFromSquare before calling this function.
|
||||
* @return ArrayList<Move>
|
||||
|
@ -103,7 +103,7 @@ public class Square {
|
||||
|
||||
/**
|
||||
* Returns a boolean telling if two squares are the same
|
||||
* @param Square to compare to.
|
||||
* @param that Square to compare to.
|
||||
* @return boolean
|
||||
*/
|
||||
public boolean isEqual(Square that) {
|
||||
|
@ -30,7 +30,7 @@ public class SuicideChess {
|
||||
public static final boolean SQUARE_CHECK_INVALID = true;
|
||||
|
||||
private static final int MAIN_VERSION_NUMBER = 0;
|
||||
private static final int REVISION_NUMBER = 17;
|
||||
private static final int REVISION_NUMBER = 19;
|
||||
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user