Documentation generated. Some errors corrected in the code.
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user