Documentation generated. Some errors corrected in the code.

This commit is contained in:
2006-01-13 17:03:06 +00:00
parent 5a8d3829be
commit 9167829467
34 changed files with 1307 additions and 478 deletions

View File

@ -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
*/

View File

@ -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>

View File

@ -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) {

View File

@ -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;
/**